commonMain.com.github.hadilq.androidlifecyclehandler.LifeFactory.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-lifecycle-handler-metadata Show documentation
Show all versions of android-lifecycle-handler-metadata Show documentation
This library is a simplifier for unnecessary complex lifecycles of `androidx.lifecycle:lifecycle-extensions`.
The newest version!
package com.github.hadilq.androidlifecyclehandler
/**
* A factory to provide [Life] if needed.
*/
interface LifeFactory {
/**
* Creates a life.
*/
fun get(): T
}