While working on android apps we use a number of utility classes to encapsulate certain logic that we need on multiple places in the application. We use this android utility classes to display or hide UI elements, to check the network connection etc. We are using Kotlin in this example,Read More →

Exit Dialog for Android Application   This is an example of implementing simple Exit Dialog with two options, YES, and NO. The code is simple and straight forward. All you need to do is to override onBackPressed() in your activity and add a simple AlertDialog (you can find tutorial aboutRead More →

Dialog`s for Android: Chapter two – Simple Dialog Here we have an example of Dialog in Android, much similar to previous example for Alert Dialog explained in my previous post, but more customizable. In this tutorial we are going to create one very simple dialog box with only title, andRead More →

Dialogs for Android: Chapter one – Alert Dialog In this topic we are going to discuss a little bit about the Alert Dialog used in Android applications, and in this post we are going to describe the simple Alert Dialog and further more the more complex Alert Dialog. First, theRead More →