ref: b6f77aff78086720a391aa7381a404242f02470a
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 } |