1. gannesh102's Avatar
    There are 7 life-cycle methods of activity. They are as follows:
    onCreate()
    onStart()
    onResume()
    onPause()
    onStop()
    onRestart()
    onDestroy()
    ManiacJoe likes this.
    06-14-2018 06:58 AM
  2. belodion's Avatar
    I had to research that one. There do indeed seem to be seven methods of controlling that activity.
    06-14-2018 12:16 PM
  3. ManiacJoe's Avatar
    An interesting conversation.

    It might go further if it was moved into one of the developer forums.
    06-14-2018 04:36 PM
  4. belodion's Avatar
    ^ Let’s try that.
    06-15-2018 09:29 AM
  5. Punchips's Avatar
    what is the difference between onPause, onStop and onDestroy ? 🤔
    06-18-2018 04:42 PM
  6. JacobJohn12's Avatar
    Let's see the 7 lifecycle methods of android activity.

    Method Description
    onCreate called when activity is first created.
    onStart called when activity is becoming visible to the user.
    onResume called when activity will start interacting with the user.
    onPause called when activity is not visible to the user.
    onStop called when activity is no longer visible to the user.
    onRestart called after your acthe tivity is stopped, prior to start.
    onDestroy called before the activity is destroyed.

    What are the life cycle methods of android activity?-android-activity-lifecycle.png
    J Dubbs likes this.
    07-06-2018 05:13 AM

Similar Threads

  1. Updates on unlocked phone? how to tell what I have?
    By Android Central Question in forum Samsung Galaxy S9 & S9+
    Replies: 2
    Last Post: 06-14-2018, 03:00 PM
  2. Camera will not work but the flash light does. How do I fix it
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 06-14-2018, 01:34 PM
  3. How to turn automatically on the flight mode?
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 06-14-2018, 01:28 PM
  4. AppLock for android phone
    By techblogger911 in forum Android Apps
    Replies: 0
    Last Post: 06-14-2018, 05:00 AM
  5. Updates on unlocked phone? how to tell what I have?
    By Android Central Question in forum Ask a Question
    Replies: 0
    Last Post: 06-14-2018, 01:04 AM
LINK TO POST COPIED TO CLIPBOARD