接口: ActivityLifecycle


接口: ActivityLifecycle

ui/activity.ActivityLifecycle

继承关系

  • unknown

    ActivityLifecycle

目录

方法

方法

on

on(event, listener): ActivityLifecycle

参数

名称 类型
event "activity_created"
listener (activity: Activity, savedInstanceState?: any) => void

返回值

ActivityLifecycle

on(event, listener): ActivityLifecycle

参数

名称 类型
event "activity_started"
listener (activity: Activity) => void

返回值

ActivityLifecycle

on(event, listener): ActivityLifecycle

参数

名称 类型
event "activity_resumed"
listener (activity: Activity) => void

返回值

ActivityLifecycle

on(event, listener): ActivityLifecycle

参数

名称 类型
event "activity_paused"
listener (activity: Activity) => void

返回值

ActivityLifecycle

on(event, listener): ActivityLifecycle

参数

名称 类型
event "activity_stopped"
listener (activity: Activity) => void

返回值

ActivityLifecycle

on(event, listener): ActivityLifecycle

参数

名称 类型
event "activity_save_instance_state"
listener (activity: Activity, outState: Bundle) => void

返回值

ActivityLifecycle

on(event, listener): ActivityLifecycle

参数

名称 类型
event "activity_destroyed"
listener (activity: Activity) => void

返回值

ActivityLifecycle

on(event, listener): ActivityLifecycle

参数

名称 类型
event "all_activities_destroyed"
listener () => void

返回值

ActivityLifecycle