Android Snackbar : Snackbar in introduced in Android material design. Its work same as Toast widget to show short time Message or Feedback. But Snackbar also provide control on some action (Like Undo, Retry , Cancel etc). You can also change color of Snackbar and text. How to use Android Snackbar : Create new Android […]

Read More →

What is Fragments in Android : Android added fragment component in Android 3.0 (API level 11), primarily to support more dynamic and flexible. Fragments are usable portion of user interface in activity. In Activity we can use multiple fragments. Fragments have its own life cycle, but its directly affected by the Activity life cycle. One […]

Read More →

Android application does not completely controls its application life cycle, Its have own Linux process. Android device has limited memory so this process is created for the application when code is needed. Another component (Activity, Services and BroadCastReceiver) in application run and kill as per needed for application. That’s how Android system manages Android Application […]

Read More →

In some cases during development android application you need define global variable. What is Global Variable? Global Variable is hold the value until your application is not destroyed. So you can access those variable across the application. How to define Global variable in android? You can extend the base android.app.Application class and add member variables. […]

Read More →