We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af0c61 commit 1cd4d7bCopy full SHA for 1cd4d7b
pluto/lib/src/main/java/com/pluto/tool/modules/currentScreen/AppLifecycleListener.kt
@@ -25,7 +25,9 @@ internal class AppLifecycleListener(private val screenUpdateCallback: OnCurrentS
25
override fun onActivityStarted(activity: Activity) {}
26
override fun onActivityStopped(activity: Activity) {}
27
override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle) {}
28
- override fun onActivityDestroyed(activity: Activity) {}
+ override fun onActivityDestroyed(activity: Activity) {
29
+ fragmentLifecycleCallbacks.activity = null
30
+ }
31
}
32
33
private fun Activity.registerFragmentLifecycle(callback: FragmentManager.FragmentLifecycleCallbacks) {
0 commit comments