Creating default implementation for state lisnter method
> The transition start is used rarely Change-Id: I0d33f0f6372eb4ef89bfbb66968612693b7c6033
This commit is contained in:
1 parent
879d3ade68
commit
aeec80ddbb
9 files changed
+3
-35
No files matched your search
@@ -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