Created
October 6, 2017 08:05
-
-
Save stfalconaleks/70f8ec516ce49c1d97a45cc84b95a4b9 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 ProfileActivity | |
extends BindingActivity<ActivityProfileBinding, ProfileViewModel> { | |
@Override | |
public ProfileViewModel onCreate() { | |
return new ProfileViewModel(this); | |
} | |
@Override | |
public int getVariable() { | |
return BR.viewModel; | |
} | |
@Override | |
public int getLayoutResources() { | |
return R.layout.activity_profile; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment