今天准备弄清楚android中launchmode问题,
查阅许多文章后仍然不够清楚它的细节。
最后在http://groups.google.com上发现了Dianne Hackborn(google的人?)的解释,
对singleInstance有了进一步了解,这四种模式平常使用也能实现对应的功能,
不过有些地方还是云里雾里。
anne Hackborn在对问题的回复中提到:
You need to read through all of the documentation on launch modes, tasks,
taskAffinities, and activity stacks. The singleInstance mode imposes
constraints on the activity that you can't understand without understanding
these other things.
提到了modes, tasks, taskAffinities, and activity stacks. 看来还需要进一步精读dev guide才是问题的最终解决之道呀!
深入理解Android LaunchMode
本文探讨了Android中LaunchMode的细节问题,特别是singleInstance模式。通过阅读官方文档和Google工程师Dianne Hackborn的回答,总结了关于Activity启动模式、任务栈、任务亲和性等关键概念的理解。
3459

被折叠的 条评论
为什么被折叠?



