Created
August 27, 2023 21:12
-
-
Save waseefakhtar/33f098a7f01dd9c407b544053acaacd8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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