As per the source code of LifecycleRegistry.java, they are the same (as both called moveToState
).
public void setCurrentState(@NonNull State state) { moveToState(state);}
NOTE: setCurrentState
is more direct, using Lifecycle.State
public void handleLifecycleEvent(@NonNull Lifecycle.Event event) { State next = getStateAfter(event); moveToState(next);}
NOTE: handleLifecycleEvent
translate Lifecycle.Event to Lifecycle.State
.