app / sg.edu.ntu.scse.cz2006.gymbuddies.ui.chatlist / ChatListViewModel

ChatListViewModel

open class ChatListViewModel : ViewModel

View Model object for the Chat List Fragment Note: This is not really being used for the Chat List 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

ChatListViewModel()

Properties

mText

Sample Live Data

var mText: MutableLiveData<String!>!

Functions

getText

Gets the sample text live data

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