app / sg.edu.ntu.scse.cz2006.gymbuddies.ui.home / HomeViewModel

HomeViewModel

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

Constructors

<init>

Constructor for this view model

HomeViewModel(application: Application)

Properties

mText

Sample Live Data

var mText: MutableLiveData<String!>!

Functions

getText

Gets the sample text live data

open fun getText(): LiveData<String!>!