https://kotlinlang.org logo
#android
Title
# android
b

bhatnagarm

02/25/2020, 2:13 PM
Hey Guys, is it possible in kotlin to limit the scope of a MutableLiveData<String> to some @StringDef
3
I tried doing doing this but Studio gives error
m

Michael Friend

02/25/2020, 4:08 PM
Why use a string def instead of just an enum or sealed class?