I am learning data binding and mvvm. I have an issue where I would like a BaseViewModel.kt to include some UI related variables such as an isLoading fl
BaseViewModel.kt
isLoading
You can use binding with include like
loading_view.xml
Using
you can also pass the hard value like
app:visibility="@{false}" app:text="@{@string/loading_text}"