Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created January 13, 2018 13:37
Show Gist options
  • Save skydoves/d9bcd7dab575e9e269a6ebc1f2212d51 to your computer and use it in GitHub Desktop.
Save skydoves/d9bcd7dab575e9e269a6ebc1f2212d51 to your computer and use it in GitHub Desktop.
@PreferenceFunction(keyname = "visits")
public int putVisitCountFunction(int count) {
return ++count;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment