(22) Task

Source: Internet
Author: User

First, the basic concept of task

1, Task: mission stack, only for the activity, the stack contains a lot of activity, is an advanced linked list, record maintenance of the current open activity. In general, after the application starts, an activity is run, and the activity object is pushed into the stack and the activity is destroyed, removing the activity from the top of the task stack. The application interface always shows the elements at the top of the stack. Call the Finish () method and the activity is destroyed.

2. An important function of the task stack: all activities in a task are organized into the same unit to maintain the user's interface (activity) experience

Ii. the relationship between activity and task

Third, the use of dialog-style activity

(22) Task

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.