List of article on Android Methods

onStop() Method Tutorial With Example In Android Studio

onStop() Method In Android Activity Life Cycle When Activity is in background then onPause() method will execute. After a millisecond of that method next onStop() method will execute. Means here also Activity is not visible to user when onStop() executed. We will use onStop() method to stop Api calls etc. This onStop() method will clean … Continue reading onStop() Method Tutorial With Example In Android Studio

onPause() Method Tutorial With Example In Android

onPause() Method In Android Activity Life Cycle: When Activity is in background then onPause() method will execute Activity is not visible to user and goes in background when onPause() method is executed onPause() Example In Android: Lets create onPause() program to understand the topic: Final Output that we will create: Step 1: Designing The UI … Continue reading onPause() Method Tutorial With Example In Android

onStart() Method In Android With Example

onStart() When activity start getting visible to user then onStart() will be called. This calls just after the onCreate() at first time launch of activity. When activity launch, first onCreate() method call then onStart() and then onResume(). If the activity is in onPause() condition i.e. not visible to user. And if user again launch the … Continue reading onStart() Method In Android With Example

onCreate(Bundle savedInstanceState) Activity Function And Example In Android

onCreate(Bundle savedInstanceState) Function in Android: When an Activity first call or launched then onCreate(Bundle savedInstanceState) method is responsible to create the activity. When ever orientation(i.e. from horizontal to vertical or vertical to horizontal) of activity gets changed or when an Activity gets forcefully terminated by any Operating System then savedInstanceState i.e. object of Bundle Class … Continue reading onCreate(Bundle savedInstanceState) Activity Function And Example In Android

DOWNLOAD THIS FREE eBook!

This free eBook will help you master the learning of Android App Development in Android Studio!
close-link

DOWNLOAD THIS FREE eBook!

This free eBook will help you master the learning of Android App Development in Android Studio!
close-link