app / sg.edu.ntu.scse.cz2006.gymbuddies.ui.bdsearch / BuddySearchViewModel

BuddySearchViewModel

open class BuddySearchViewModel : ViewModel

View Model object for the Buddy Search Fragment Note: This is not really being used for the Buddy Search Fragment, but its here due the MVVM model that Jetpack is being based off on

Author
Chia Yu

Since
2019-10-03

Constructors

<init>

Constructor for this view model

BuddySearchViewModel()

Properties

mText

Sample Live Data

var mText: MutableLiveData<String!>!

Functions

getText

Gets the sample text live data

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