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