Skip to content

mengdd/HelloActivityAndFragment

Repository files navigation

HelloActivityAndFragment

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.

Related Posts:

Android Do not keep activities选项分析

Android Activity launchMode研究

Android Fragment使用(一) 基础篇 温故知新

Android Fragment使用(二) 嵌套Fragments (Nested Fragments) 的使用及常见错误

Android Fragment使用(三) Activity, Fragment, WebView的状态保存和恢复

Android Fragment使用(四) Toolbar使用及Fragment中的Toolbar处理

About

Android demos about Activity and Fragment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages