Disable Cancel on Touch Outside & on Back press In order to create a BottomSheetDialogFragment which should not dismiss on…
Continue Readingandroid
Add badge count to navigation drawer hamburger icon – Android
NavigationDrawer provides easy access to menu functions. Sometimes the menu items have some actionable content available. To notify user that…
Continue ReadingMigrate to Android Room with Date column – Android
Migrating our apps to Android Room from conventional SQLite Database was flawless except when we encountered issue with Date column…
Continue ReadingGenerate app name with version code, name and flavour name – Android
After a build is shared to a team or group of people, sometimes a question arises that what was the…
Continue ReadingSet up Continuous Integration server (Jenkins) for Android Projects
Jenkins is one of the best open-source Continuous Integration server available. It helps in automating the builds and sharing of…
Continue ReadingSolution: Access to the dex task is now impossible, starting with 1.4.0
Everybody* who wants to upgrade to and above 1.4.0 build tool version is getting this error. Error:Access to the dex…
Continue ReadingProduct Flavors in Android
Environment plays a vital role in the application development. As per the requirements, we have to create few environments, viz.…
Continue ReadingHeader ListView using BaseAdapter – Android
In the previous post, ListView using BaseAdapter – Android we learned to create a list with custom views. In this…
Continue ReadingSet margins in dp programmatically – Android
Sometimes at runtime, it is required to set margin to a view. But, the problem is getting different size for…
Continue ReadingEditText with Single Line, Line Wrapping and Done Action in Android
Regular formula for making an EditText– Single Line : no new line <Enter> allowed,– Line Wrapping : Single line wrapped…
Continue Reading