You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
339 B
13 lines
339 B
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 |
|
} |