Skip to content

Instantly share code, notes, and snippets.

@skydoves
Created March 16, 2018 02:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save skydoves/8788c6400fb62e5e9ceb2010a59794e7 to your computer and use it in GitHub Desktop.
Profile Entity
@PreferenceEntity(name = "UserProfile")
open class Profile {
@KeyName(name = "name") @JvmField val userName = "skydoves"
@KeyName(name = "menuPosition") @JvmField val selectedPosition = 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment