Created
July 1, 2017 23:21
-
-
Save jshvarts/8d0d78c27eac6e54ced3341dc5c16982 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
import android.arch.lifecycle.ViewModel; | |
public class ClickCounterViewModel extends ViewModel { | |
private int count; | |
public void setCount(int count) { | |
this.count = count; | |
} | |
public int getCount() { | |
return count; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment