From e48bb565a5aa871be18cae4003cb781ef6e2e154 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 11 Jan 2019 11:33:32 +0800 Subject: View user details in ViewUserDetailActivity. Follow or unfollow user is not properly implemented right now. Change users and subscribed_users databases' schemes. Press Profile in navigation drawer to view my reddit info. Press the username in the post to view that account's info. --- app/src/main/java/SubredditDatabase/SubredditRepository.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/src/main/java/SubredditDatabase/SubredditRepository.java') diff --git a/app/src/main/java/SubredditDatabase/SubredditRepository.java b/app/src/main/java/SubredditDatabase/SubredditRepository.java index 495f6e3d..4e435da9 100644 --- a/app/src/main/java/SubredditDatabase/SubredditRepository.java +++ b/app/src/main/java/SubredditDatabase/SubredditRepository.java @@ -20,14 +20,14 @@ public class SubredditRepository { } public void insert(SubredditData subredditData) { - new SubredditRepository.insertAsyncTask(mSubredditDao).execute(subredditData); + new InsertAsyncTask(mSubredditDao).execute(subredditData); } - private static class insertAsyncTask extends AsyncTask { + private static class InsertAsyncTask extends AsyncTask { private SubredditDao mAsyncTaskDao; - insertAsyncTask(SubredditDao dao) { + InsertAsyncTask(SubredditDao dao) { mAsyncTaskDao = dao; } -- cgit v1.2.3