Snackbar Android widget example

Snackbar Android is introduced in Android material design. Its works the same as the Toast widget to show short-time Message or Feedback. But Snackbar also provides control on some actions (Like Undo, Retry, Cancel, etc). You can also change the color of the Snackbar and text. This message is shown at bottom of your app like the below Read More…


Creating and Using Android Fragments dynamically

Android fragments are the main component in android development, it’s added fragment component in Android 3.0 (API level 11), primarily to support more dynamic and flexible. Fragments are a usable portion of the user interface in an activity. In Activity, we can use multiple fragments. Fragments have their own life cycle, but its directly affected Read More…


How to Manage Android Application Life Cycle

Android application life cycle does not completely control its application lifecycle, It has its own Linux process. Android device has limited memory so this process is created for the application when a code is needed. Another component (Activity, Services, and BroadCastReceiver) in the application run and kill as needed for the application. That’s how the Read More…