Databinding with Livedata not showing values
I'm using MVVM in my App and I try to bind Livedata to a TextView with Jetpack Databinding.
I get the correct values in the Log.d() of my Viewmodel, however the data is not shown on Screen.
Could someone guess what am I missing?
My XML File
(fragment_lobbyleader.xml)
My Viewmodel
class LobbyViewModel(private val lobbyRepository: LobbyRepository) : ViewModel() {
private val _lobbyID = MutableLiveData()
val lobbyID : LiveData = _lobbyID
fun...