Android Life Cycle Summary

Source: Internet
Author: User

1. When the OnStart method is called, the user can already see the activity, but Onresume is soon called and overwrites the OnStart method. and remain in that state unless the force changes

The 2.Resume status is at the top of the Android life cycle pyramid and is visible and operable (user input) only in that state

3.resume,pause,stopped is the state of persistence. The other oncreat,onstart,onrestart,ondestory are instantaneous states. They can be manipulated according to their different properties.

4. Activity in the paused state is still in operation if it is translucent or not completely obscured. Can be changed directly to Onresume state to continue execution

Android Life Cycle Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.