19 lines
449 B
Java
19 lines
449 B
Java
package app.fedilab.fedilabtube.ui.video;
|
|
|
|
import androidx.lifecycle.LiveData;
|
|
import androidx.lifecycle.MutableLiveData;
|
|
import androidx.lifecycle.ViewModel;
|
|
|
|
public class VideoListModel extends ViewModel {
|
|
|
|
private MutableLiveData<String> mText;
|
|
|
|
public VideoListModel() {
|
|
mText = new MutableLiveData<>();
|
|
mText.setValue("This is home fragment");
|
|
}
|
|
|
|
public LiveData<String> getText() {
|
|
return mText;
|
|
}
|
|
} |