Creating default implementation for state lisnter method
> The transition start is used rarely Change-Id: I0d33f0f6372eb4ef89bfbb66968612693b7c6033
This commit is contained in:
@@ -600,7 +600,8 @@ public class LauncherStateManager {
|
||||
|
||||
public interface StateListener {
|
||||
|
||||
void onStateTransitionStart(LauncherState toState);
|
||||
void onStateTransitionComplete(LauncherState finalState);
|
||||
default void onStateTransitionStart(LauncherState toState) { }
|
||||
|
||||
default void onStateTransitionComplete(LauncherState finalState) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user