etiennelenhart / Eiffel

Redux-inspired Android architecture library leveraging Architecture Components and Kotlin Coroutines
MIT License
211 stars 14 forks source link

Automatic BindingState refresh from an observed ViewState #24

Closed etiennelenhart closed 6 years ago

etiennelenhart commented 6 years ago

Currently a BindingState has to be "manually" refreshed from the view model state's observer. StateViewModel should provide overloads of the observeState function receiving a BindingState that is then being refreshed automatically.