public class AOSPLithoLifecycleProvider extends java.lang.Object implements LithoLifecycleProvider
LithoLifecycleProvider.LithoLifecycle
Constructor and Description |
---|
AOSPLithoLifecycleProvider(LifecycleOwner lifecycleOwner) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(LithoLifecycleListener listener) |
LithoLifecycleProvider.LithoLifecycle |
getLifecycleStatus() |
void |
moveToLifecycle(LithoLifecycleProvider.LithoLifecycle lithoLifecycle) |
void |
removeListener(LithoLifecycleListener listener) |
public AOSPLithoLifecycleProvider(LifecycleOwner lifecycleOwner)
public LithoLifecycleProvider.LithoLifecycle getLifecycleStatus()
getLifecycleStatus
in interface LithoLifecycleProvider
public void moveToLifecycle(LithoLifecycleProvider.LithoLifecycle lithoLifecycle)
moveToLifecycle
in interface LithoLifecycleProvider
public void addListener(LithoLifecycleListener listener)
addListener
in interface LithoLifecycleProvider
public void removeListener(LithoLifecycleListener listener)
removeListener
in interface LithoLifecycleProvider