Last active
June 29, 2016 12:18
-
-
Save andrzejchm/51aaca205d3c120e278fc681597e76dc 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 GoodActivity extends DroidMVPActivity<GoodPresentationModel, GoodView, GoodPresenter> { | |
... | |
@OnClick(R.id.button) public void onButtonClicked() { | |
presenter.onButtonClicked(); | |
} | |
... | |
} | |
-- | |
public class GoodPresenter extends SimpleDroidMVPPresenter { | |
... | |
public void onButtonClicked() { | |
getMvpView().showProgress(); | |
// request data from API | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment