open class HomeViewModel : AndroidViewModel
View Model object for the Home Fragment Note: This is not really being used for the Home Fragment, but its here due the MVVM model that Jetpack is being based off on
Author
Kenneth Soh
Since
2019-10-03
<init> |
Constructor for this view model HomeViewModel(application: Application) |
mText |
Sample Live Data var mText: MutableLiveData<String!>! |
getText |
Gets the sample text live data open fun getText(): LiveData<String!>! |