aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/User/UserViewModel.java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-02-21 09:24:23 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-02-21 09:24:23 +0000
commit82d97cf73208f3f187b965fca4460f68af33f6b7 (patch)
tree76da6482a83ebc3d09b6a8f0353d057f200ddfde /app/src/main/java/User/UserViewModel.java
parent2b0228ab476426531f0f064e80e3cf2019081569 (diff)
downloadinfinity-for-reddit-82d97cf73208f3f187b965fca4460f68af33f6b7.tar
infinity-for-reddit-82d97cf73208f3f187b965fca4460f68af33f6b7.tar.gz
infinity-for-reddit-82d97cf73208f3f187b965fca4460f68af33f6b7.tar.bz2
infinity-for-reddit-82d97cf73208f3f187b965fca4460f68af33f6b7.tar.lz
infinity-for-reddit-82d97cf73208f3f187b965fca4460f68af33f6b7.tar.xz
infinity-for-reddit-82d97cf73208f3f187b965fca4460f68af33f6b7.tar.zst
infinity-for-reddit-82d97cf73208f3f187b965fca4460f68af33f6b7.zip
Migrate to AndroidX
Diffstat (limited to 'app/src/main/java/User/UserViewModel.java')
-rw-r--r--app/src/main/java/User/UserViewModel.java12
1 files changed, 5 insertions, 7 deletions
diff --git a/app/src/main/java/User/UserViewModel.java b/app/src/main/java/User/UserViewModel.java
index a006e253..aab98645 100644
--- a/app/src/main/java/User/UserViewModel.java
+++ b/app/src/main/java/User/UserViewModel.java
@@ -1,13 +1,11 @@
package User;
import android.app.Application;
-import android.arch.lifecycle.AndroidViewModel;
-import android.arch.lifecycle.LiveData;
-import android.arch.lifecycle.ViewModel;
-import android.arch.lifecycle.ViewModelProvider;
-import android.support.annotation.NonNull;
-
-import SubredditDatabase.SubredditViewModel;
+import androidx.lifecycle.AndroidViewModel;
+import androidx.lifecycle.LiveData;
+import androidx.lifecycle.ViewModel;
+import androidx.lifecycle.ViewModelProvider;
+import androidx.annotation.NonNull;
public class UserViewModel extends AndroidViewModel {
private UserRepository mSubredditRepository;