Android demos about Activity and Fragment.
This demo project is for experiments to find how Activity and Fragment works. Including cases with different launch modes and nested fragments.
With it you can:
- Watch the lifecycle in logs.
- Open
Do not keep activities
in developer options and see what's the differences. - Modify to test crash cases.
Android Do not keep activities选项分析
Android Fragment使用(一) 基础篇 温故知新
Android Fragment使用(二) 嵌套Fragments (Nested Fragments) 的使用及常见错误