Android-Boot mode (singletop boot mode)

Source: Internet
Author: User

Understand the standard startup mode, is to use the task stack, advanced after out, LIFO mode to start, the following we look at another singletop boot mode.

1, we look at the picture, this page I added 2 buttons, sub-table to a page and B page, first look at a, our taskid=18, example =*f648

2, click "Jump a Page activity", found that, no change, the instance or *f648

3, we click "Jump B page Activity", taskid=18, example =*54F0, the new student has become an example.

4, we then click "Jump a Page activity", the instance changed, and our 2nd Step example is not the same, became *8A50

5, in more than a few times "jump a page activity", the instance is still *8a50

Is there any discovery, the activity of page A here is set to Singletop startup mode, if the activity instance that is currently going to jump is at the top of the stack, then no new instances will be created for the current instance .

Configuring startup Mode

Android-Boot mode (singletop boot mode)

Related Article

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.