ref: 83525b8c15e6d18f23e32ee2ba83f013a92368c3
app/src/main/java/ml/adamsprogs/bimba/dashboard/ui/voyage/VoyageViewModel.kt
1 2 3 4 5 6 7 8 9 10 11 12 13 |
package ml.adamsprogs.bimba.dashboard.ui.voyage import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel class VoyageViewModel : ViewModel() { private val _text = MutableLiveData<String>().apply { value = "This is voyage Fragment" } val text: LiveData<String> = _text } |