Since version 3.1 Android Studio supports databinding to LiveData. But in order to track changes of a LiveData field, ViewDataBinding object must be provided with LifecycleOwner which LastAdapter does not. So binding to LiveData via LastAdapter is efficiently onetime binding.
Please, add possibility to pass LifecycleOwner into LastAdapter (probably, constructor argument will do fine).
Since version 3.1 Android Studio supports databinding to
LiveData. But in order to track changes of aLiveDatafield,ViewDataBindingobject must be provided withLifecycleOwnerwhich LastAdapter does not. So binding to LiveData via LastAdapter is efficiently onetime binding.Please, add possibility to pass
LifecycleOwnerinto LastAdapter (probably, constructor argument will do fine).