Set variables in build.gradle

in Android Gradle
In this this tutorial I'll show you how to parametrize your Android build by setting different built types and variants in the build.gradle file and also how to set different parameters based on type and variant
Read More…  

Initialize application with Application class

in Android
Android Application class gives the developer a nice way to initialize dependant libraries and other features.
Read More…  

Set Android apk filename in Gradle

in Android Gradle
Change Gradle settings and output apks with more descriptive filenames.
Read More…  

Android signing config with Gradle

in Android Gradle
How to setup signing config in Gradle and handle keystore loading without adding secrets to version control
Read More…  

RecyclerView padding to first and last items

in Android
Adding padding to a RecyclerView might not turn out as you expected. Fortunately it's easy to fix with clipToPadding attribute.
Read More…