但是,即使是不可取消的任务也应该尝试保留中断状态,以防在不可取消的任务结束之后,调用栈上更高层的代码需要对中断进行处理。
However, even noncancelable tasks should attempt to preserve the interrupted status in case code higher up on the call stack wants to act on the interruption after the noncancelable task completes.
Fragments:演示fragment布局,回退栈,状态存储等
Fragments: Various samples that demonstrate fragment layouts, back stack, restoring state, and more.
在这一小节,我将从我为这些文章所作的测试方面,总结3个栈的目前状态。
In this section, I'll summarize the current state of the three stacks with respect to the testing I did for these articles.
应用推荐