diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/SharedViewModel.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/SharedViewModel.java deleted file mode 100644 index c5364f63..00000000 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/SharedViewModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package one.nem.lacerta.component.viewer; - -import androidx.lifecycle.MutableLiveData; -import androidx.lifecycle.ViewModel; - -public class SharedViewModel extends ViewModel { - - private final MutableLiveData currentFragmentPosition = new MutableLiveData<>(); - - public void setCurrentFragmentPosition(int position) { - currentFragmentPosition.setValue(position); - } - - public int getCurrentFragmentPosition() { - assert currentFragmentPosition.getValue() != null; - return currentFragmentPosition.getValue(); - } - -}