App Lifecycle Manager
object AppLifecycleManager
Content copied to clipboard
应用生命周期管理器
Functions
getActivityCallback
Link copied to clipboard
private fun getActivityCallback(activity: Activity?): List<Application.ActivityLifecycleCallbacks>
Content copied to clipboard
getCurrentActivity
Link copied to clipboard
getCurrentFragmentActivity
Link copied to clipboard
observeActivityCallback
Link copied to clipboard
fun observeActivityCallback(activity: Activity, callback: Application.ActivityLifecycleCallbacks)
Content copied to clipboard
registerApplication
Link copied to clipboard
removeActivityCallbacks
Link copied to clipboard
Properties
activityCallbacks
Link copied to clipboard
private val activityCallbacks: MutableMap<Int, List<Application.ActivityLifecycleCallbacks>>
Content copied to clipboard
currentActivityWeakRef
Link copied to clipboard