Skip to content

Instantly share code, notes, and snippets.

@ceruleanotter
Last active August 7, 2017 09:09
Show Gist options
  • Save ceruleanotter/a63f0e15162c0505960029e28f6ea752 to your computer and use it in GitHub Desktop.
Save ceruleanotter/a63f0e15162c0505960029e28f6ea752 to your computer and use it in GitHub Desktop.
ViewModel BlogPost : Part 1 : Step 1
public class ScoreViewModel extends ViewModel {
// Tracks the score for Team A
public int scoreTeamA = 0;
// Tracks the score for Team B
public int scoreTeamB = 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment