Created
October 6, 2017 08:01
-
-
Save stfalconaleks/528eec47a8f673aa86db687eb4c96cc6 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 abstract class ActivityViewModel extends BaseObservable { | |
protected Activity activity; | |
public ActivityViewModel(Activity activity) { | |
this.activity = activity; | |
} | |
public Activity getActivity() { | |
return activity; | |
} | |
//...lifecycle methods | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment