Skip to content

Instantly share code, notes, and snippets.

@arildojr7
Last active July 9, 2019 12:43
Show Gist options
  • Save arildojr7/e9419f906fbc9d8ab775561e4307de1f to your computer and use it in GitHub Desktop.
Save arildojr7/e9419f906fbc9d8ab775561e4307de1f to your computer and use it in GitHub Desktop.
enum class MenuAccountEnum(
@DrawableRes val drawableId: Int?,
@StringRes val title: Int,
@StringRes val subTitle: Int = R.string.none
) {
HELP_ME(R.drawable.ic_help, R.string.help_me),
PROFILE(R.drawable.ic_user, R.string.profile, R.string.profile_subtitle),
NUACCOUNT_SETTINGS(R.drawable.ic_savings, R.string.nuaccount_settings),
APP_SETTINGS(R.drawable.ic_phone, R.string.app_settings)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment