Created
February 10, 2017 08:37
-
-
Save senneco/0d19364d2f64a0d5e989d7e4f8edf46e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DefaultStateStrategy implements StateStrategy { | |
@Override | |
public <View extends MvpView> void beforeApply(List<ViewCommand<View>> currentState, ViewCommand<View> incomingCommand) { | |
MvpFacade.getDefaultStrategy().beforeApply(currentState, incomingCommand); | |
} | |
@Override | |
public <View extends MvpView> void afterApply(List<ViewCommand<View>> currentState, ViewCommand<View> incomingCommand) { | |
MvpFacade.getDefaultStrategy().afterApply(currentState, incomingCommand); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment