ui/activity
更新: 2025/7/20 字数: 0 字 时长: 0 分钟
ui/activity.ActivityLifecycle
继承关系
unknown
ActivityLifecycle
目录
方法
方法
on
- on(
event
,listener
):ActivityLifecycle
参数
名称 | 类型 |
---|---|
event | "activity_created" |
listener | (activity : Activity , savedInstanceState? : any ) => void |
返回值
- on(
event
,listener
):ActivityLifecycle
参数
名称 | 类型 |
---|---|
event | "activity_started" |
listener | (activity : Activity ) => void |
返回值
- on(
event
,listener
):ActivityLifecycle
参数
名称 | 类型 |
---|---|
event | "activity_resumed" |
listener | (activity : Activity ) => void |
返回值
- on(
event
,listener
):ActivityLifecycle
参数
名称 | 类型 |
---|---|
event | "activity_paused" |
listener | (activity : Activity ) => void |
返回值
- on(
event
,listener
):ActivityLifecycle
参数
名称 | 类型 |
---|---|
event | "activity_stopped" |
listener | (activity : Activity ) => void |
返回值
- on(
event
,listener
):ActivityLifecycle
参数
名称 | 类型 |
---|---|
event | "activity_save_instance_state" |
listener | (activity : Activity , outState : Bundle ) => void |
返回值
- on(
event
,listener
):ActivityLifecycle
参数
名称 | 类型 |
---|---|
event | "activity_destroyed" |
listener | (activity : Activity ) => void |
返回值
- on(
event
,listener
):ActivityLifecycle
参数
名称 | 类型 |
---|---|
event | "all_activities_destroyed" |
listener | () => void |
返回值