13 lines
342 B
Kotlin
13 lines
342 B
Kotlin
|
package org.mosad.teapod.ui.library
|
||
|
|
||
|
import androidx.lifecycle.LiveData
|
||
|
import androidx.lifecycle.MutableLiveData
|
||
|
import androidx.lifecycle.ViewModel
|
||
|
|
||
|
class LibraryViewModel : ViewModel() {
|
||
|
|
||
|
private val _text = MutableLiveData<String>().apply {
|
||
|
value = "This is the library Fragment"
|
||
|
}
|
||
|
val text: LiveData<String> = _text
|
||
|
}
|