View Model
annotation class ViewModel(val observableDelegates: Array<String> = arrayOf(
"published",
"collected",
"collectedFlatMap",
"collectedFlatMapLatest",
"binding",
"managed",
"managedList",
))
Content copied to clipboard
Enables generating enhancements for the annotated class.
IMPORTANT: Annotated class has to inherit from BaseViewModel.
Future plans
Support extending which property delegates get the
observeXproperties generated.Drop the requirement of inheriting BaseViewModel and replace it with synthetic inheritance (blocked because of missing support in Kotlin).
Support generics.