diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/activities/MainActivity.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/activities/MainActivity.java index f3dad99..1a05e3e 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/activities/MainActivity.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/activities/MainActivity.java @@ -40,8 +40,8 @@ import org.communiquons.android.comunic.client.ui.fragments.LatestPostsFragment; import org.communiquons.android.comunic.client.ui.fragments.NotificationsFragment; import org.communiquons.android.comunic.client.ui.fragments.SinglePostFragment; import org.communiquons.android.comunic.client.ui.fragments.UpdateConversationFragment; -import org.communiquons.android.comunic.client.ui.fragments.UserAccessDeniedFragment; -import org.communiquons.android.comunic.client.ui.fragments.UserPageFragment; +import org.communiquons.android.comunic.client.ui.fragments.userpage.UserAccessDeniedFragment; +import org.communiquons.android.comunic.client.ui.fragments.userpage.UserPageFragment; import org.communiquons.android.comunic.client.ui.listeners.onOpenUsersPageListener; import org.communiquons.android.comunic.client.ui.listeners.onPostOpenListener; import org.communiquons.android.comunic.client.ui.listeners.openConversationListener; diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/AbstractPostsListFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/AbstractPostsListFragment.java index 18bdf39..0a10480 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/AbstractPostsListFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/AbstractPostsListFragment.java @@ -56,7 +56,7 @@ import java.util.Objects; * Created by pierre on 3/18/18. */ -abstract class AbstractPostsListFragment extends Fragment +public abstract class AbstractPostsListFragment extends Fragment implements onPostUpdateListener, OnScrollChangeDetectListener, PostsCreateFormFragment.OnPostCreated { /** diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/AdvancedUserInfoFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/AdvancedUserInfoFragment.java similarity index 97% rename from app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/AdvancedUserInfoFragment.java rename to app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/AdvancedUserInfoFragment.java index ef5d6ac..482a433 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/AdvancedUserInfoFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/AdvancedUserInfoFragment.java @@ -1,4 +1,4 @@ -package org.communiquons.android.comunic.client.ui.fragments; +package org.communiquons.android.comunic.client.ui.fragments.userpage; import android.os.Bundle; import android.support.annotation.NonNull; diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserAccessDeniedFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserAccessDeniedFragment.java similarity index 98% rename from app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserAccessDeniedFragment.java rename to app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserAccessDeniedFragment.java index 8d69388..0fdee9d 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserAccessDeniedFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserAccessDeniedFragment.java @@ -1,4 +1,4 @@ -package org.communiquons.android.comunic.client.ui.fragments; +package org.communiquons.android.comunic.client.ui.fragments.userpage; import android.os.AsyncTask; import android.os.Bundle; diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserFriendListFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserFriendListFragment.java similarity index 98% rename from app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserFriendListFragment.java rename to app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserFriendListFragment.java index 9d9cea1..f895c10 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserFriendListFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserFriendListFragment.java @@ -1,4 +1,4 @@ -package org.communiquons.android.comunic.client.ui.fragments; +package org.communiquons.android.comunic.client.ui.fragments.userpage; import android.os.AsyncTask; import android.os.Bundle; diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPageFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserPageFragment.java similarity index 98% rename from app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPageFragment.java rename to app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserPageFragment.java index 1f1038c..3100d3d 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPageFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserPageFragment.java @@ -1,4 +1,4 @@ -package org.communiquons.android.comunic.client.ui.fragments; +package org.communiquons.android.comunic.client.ui.fragments.userpage; import android.app.AlertDialog; import android.os.AsyncTask; diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPostsFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserPostsFragment.java similarity index 94% rename from app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPostsFragment.java rename to app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserPostsFragment.java index c5a9628..ef6c89c 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPostsFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/userpage/UserPostsFragment.java @@ -1,4 +1,4 @@ -package org.communiquons.android.comunic.client.ui.fragments; +package org.communiquons.android.comunic.client.ui.fragments.userpage; import android.os.AsyncTask; import android.os.Bundle; @@ -11,6 +11,8 @@ import org.communiquons.android.comunic.client.R; import org.communiquons.android.comunic.client.data.arrays.PostsList; import org.communiquons.android.comunic.client.ui.asynctasks.SafeAsyncTask; import org.communiquons.android.comunic.client.ui.asynctasks.LoadUserPostsTask; +import org.communiquons.android.comunic.client.ui.fragments.AbstractPostsListFragment; +import org.communiquons.android.comunic.client.ui.fragments.PostsCreateFormFragment; /** * User posts fragment