Published in ProAndroidDev·Jun 30, 2019Everything you need to know about Memory Leaks in Android.One of the core benefits of Java, or to be more accurate, of the JVM (Java Virtual Machine), is the garbage collector (GC). We can create new objects without worrying about freeing them up from memory. …Android17 min read
Published in AndroidPub·Jan 23, 2019PowerPreference — A simple approach to store data in androidWhat is PowerPreference? A Powerful library to control and simplify the usage of shared preference in android which provides utility on top of Android’s normal SharedPreference class. How does it work? So simple if you want to access preference file there is two option. Default preference file. Preference preference = PowerPreference.getDefaultFile(); Specific preference file by name. Preference…Android3 min read
Published in ProAndroidDev·Oct 30, 2018Oreo notification feature: A critical issue that could restart your Android phone.With the announcement of Android Oreo, Google focuses on giving the users an extensive suite of customization, they have taken a step further with two new capabilities: notification channels and notification dots. Everything was running great on the app until I started getting bad feedback. Last week I got some…Android4 min read
Apr 23, 2018Android Java Style GuideFollow a standard coding style in android, it will be easier for you and also for others to understand your code easily. — I encourage you to fork this guide and change the rules to fit your team’s style guide. Below, you may list some amendments to the style guide. #Naming Classes & Interfaces Written in UpperCamelCase BAD: interface onClickListener GOOD: interface OnClickListener Methods Written in lowerCamelCaseAndroid6 min read