public class SimpleNestedTreeLifecycleProvider extends java.lang.Object implements LithoLifecycleProvider, LithoLifecycleListener
LithoLifecycleProvider.LithoLifecycle
Constructor and Description |
---|
SimpleNestedTreeLifecycleProvider(ComponentTree parentComponentTree) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(LithoLifecycleListener listener) |
LithoLifecycleProvider.LithoLifecycle |
getLifecycleStatus() |
void |
moveToLifecycle(LithoLifecycleProvider.LithoLifecycle lithoLifecycle) |
void |
onMovedToState(LithoLifecycleProvider.LithoLifecycle state) |
void |
removeListener(LithoLifecycleListener listener) |
public SimpleNestedTreeLifecycleProvider(ComponentTree parentComponentTree)
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
public void onMovedToState(LithoLifecycleProvider.LithoLifecycle state)
onMovedToState
in interface LithoLifecycleListener