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