What is the relationship between Task and Back stack

后端 未结 4 1480
悲&欢浪女
悲&欢浪女 2020-12-15 09:36

When I read the android official document, I notice that the Android system manages activities by task, but it also uses the back stack to control the activity sequence.So m

4条回答
  •  -上瘾入骨i
    2020-12-15 10:14

    A Task is the collection of the activities and it uses a Back Stack to arrange them(activities) with the order in which they were opened.

    Every Application uses its own Task and that task uses it's own Back Stack.

提交回复
热议问题