You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
android-notes/blogs/Activity.md

38 lines
716 B

---
Activity
---
#### 目录
1. 思维导图
2. 基本使用
- Activity 启动以及生命周期
- Activity 启动
- 显式启动
- 隐式启动
- 生命周期
- 正常生命周期
- 异常生命周期
- 横竖屏切换
- 异常退出
- 启动模式
- standard
- singleTop
- singleTask
- singleInstance
- 常用回调函数
- setResult / onActivityResult
- onNewIntent
- onConfigurationChanged
- onSaveInstanceState / onRestoreInstanceState
- onTrimMemory
- 通信交互
- 与 Activity 通信
- 与 Fragment 通信
- 与 Service 通信
3. 高级玩法
- 根 Activity 启动流程