Last active
February 15, 2017 12:54
-
-
Save maydin/abbd20fa91045a52a07a15a660fe1df2 to your computer and use it in GitHub Desktop.
Presenter
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 abstract class Presenter { | |
protected View view; | |
private AppCompatActivity activity; | |
public Presenter(AppCompatActivity activity,View view) { | |
this.activity = activity; | |
this.view = view; | |
onCreateView(); | |
} | |
public View getView() { | |
return view; | |
} | |
public abstract void onCreateView(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment