AndroidPub
Published in

AndroidPub

Android Development : Some of the best practices

Hi! After a modest number of projects I’ve decided to share with you some of the things that experience made me learn, I mean the hard way.

Here is the selection:

  • Think twice before adding any third party library, it’s really a serious commitment

1. Don’t reference View inside AsyncCallback

2. Don’t reference View from static object

3. Avoid putting views inside collection that’s don’t have clear memory pattern, you can use WeakHasMap

  • FlatBuffers is an efficient cross platform serialization library, so use it

if you enjoyed this post, please hit the recommend button below and share this. Thank’s!

--

--

The (retired) Pub(lication) for Android & Tech, focused on Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store