StoreLifecycle

interface StoreLifecycle : DefaultLifecycleObserver

Implement androidx.lifecycle events

Functions

Link copied to clipboard
abstract fun create()

Initiate logic dependent on Android's onCreate() Lifecycle event. If you added the Manager class as a lifecycleObserver, you do not need to add this class manually in your activity/fragment.

Link copied to clipboard
abstract fun destroy()

Initiate logic dependent on Android's onDestroy() Lifecycle event. If you added the Manager class as a lifecycleObserver, you do not need to add this class manually in your activity/fragment.

Link copied to clipboard
abstract fun init(context: Context?)
Link copied to clipboard
open override fun onCreate(@NonNull p0: LifecycleOwner)
Link copied to clipboard
open override fun onDestroy(@NonNull p0: LifecycleOwner)
Link copied to clipboard
open override fun onPause(@NonNull p0: LifecycleOwner)
Link copied to clipboard
open override fun onResume(@NonNull p0: LifecycleOwner)
Link copied to clipboard
open override fun onStart(@NonNull p0: LifecycleOwner)
Link copied to clipboard
open override fun onStop(@NonNull p0: LifecycleOwner)
Link copied to clipboard
abstract fun pause()

Initiate logic dependent on Android's onPause() Lifecycle event. If you added the Manager class as a lifecycleObserver, you do not need to add this class manually in your activity/fragment.

Link copied to clipboard
abstract fun resume()

Initiate logic dependent on Android's onResume() Lifecycle event. If you added the Manager class as a lifecycleObserver, you do not need to add this class manually in your activity/fragment.

Link copied to clipboard
abstract fun start()

Initiate logic dependent on Android's onStart() Lifecycle event. If you added the Manager class as a lifecycleObserver, you do not need to add this class manually in your activity/fragment.

Link copied to clipboard
abstract fun stop()

Initiate logic dependent on Android's onStop() Lifecycle event. If you added the Manager class as a lifecycleObserver, you do not need to add this class manually in your activity/fragment.

Inheritors

Link copied to clipboard