Last active
August 24, 2017 19:01
-
-
Save anandgaurav10/3f86c41add938a73b19bf8a0cec64f7d 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 SplashPresenter<V extends SplashMvpView> extends BasePresenter<V> implements SplashMvpPresenter<V> { | |
public SplashPresenter(DataManager dataManager) { | |
super(dataManager); | |
} | |
@Override | |
public void decideNextActivity() { | |
if (getDataManager().getLoggedInMode()) { | |
getMvpView().openMainActivity(); | |
} else { | |
getMvpView().openLoginActivity(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment