Skip to content

Instantly share code, notes, and snippets.

@waseefakhtar
Created August 27, 2023 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waseefakhtar/33f098a7f01dd9c407b544053acaacd8 to your computer and use it in GitHub Desktop.
Save waseefakhtar/33f098a7f01dd9c407b544053acaacd8 to your computer and use it in GitHub Desktop.
enum class Recurrence {
Daily,
Weekly,
Monthly
}
fun getRecurrenceList(): List<Recurrence> {
val recurrenceList = mutableListOf<Recurrence>()
recurrenceList.add(Recurrence.Daily)
recurrenceList.add(Recurrence.Weekly)
recurrenceList.add(Recurrence.Monthly)
return recurrenceList
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment