Sep 4, 2018 · 1 min read
i’ts not really concerns. I think LiveData in the view model is a good thing. Together with databinding I find it a bit useless though. I prefer using exposing properties as LiveData brings in some boilerplate. It feels very meant for Java while in Kotlin you can do a lot with delegates.
So our viewmodels expose sth like:
@get:Bindable
var expanded by bindable(false)
have a look at this library to find out more:
https://github.com/Aidanvii7/Toolbox
