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