aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchSubredditsResultActivity.java5
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchUsersResultActivity.java5
-rw-r--r--app/src/main/res/layout/activity_account_posts.xml2
-rw-r--r--app/src/main/res/layout/activity_anonymous_subscriptions.xml2
-rw-r--r--app/src/main/res/layout/activity_filtered_thing.xml2
-rw-r--r--app/src/main/res/layout/activity_multireddit_selection.xml2
-rw-r--r--app/src/main/res/layout/activity_search_subreddits_result.xml2
-rw-r--r--app/src/main/res/layout/activity_search_users_result.xml2
-rw-r--r--app/src/main/res/layout/activity_settings.xml2
-rw-r--r--app/src/main/res/layout/activity_subreddit_selection.xml2
-rw-r--r--app/src/main/res/layout/activity_view_multi_reddit_detail.xml2
11 files changed, 15 insertions, 13 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchSubredditsResultActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchSubredditsResultActivity.java
index 3b6ead1a..ae115534 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchSubredditsResultActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchSubredditsResultActivity.java
@@ -122,11 +122,12 @@ public class SearchSubredditsResultActivity extends BaseActivity implements Acti
bundle.putString(SubredditListingFragment.EXTRA_ACCOUNT_NAME, mAccountName);
bundle.putBoolean(SubredditListingFragment.EXTRA_IS_MULTI_SELECTION, getIntent().getBooleanExtra(EXTRA_IS_MULTI_SELECTION, false));
mFragment.setArguments(bundle);
- getSupportFragmentManager().beginTransaction().replace(R.id.frame_layout_search_subreddits_result_activity, mFragment).commit();
} else {
mFragment = getSupportFragmentManager().getFragment(savedInstanceState, FRAGMENT_OUT_STATE);
- getSupportFragmentManager().beginTransaction().replace(R.id.frame_layout_search_subreddits_result_activity, mFragment).commit();
}
+ getSupportFragmentManager().beginTransaction()
+ .replace(R.id.frame_layout_search_subreddits_result_activity, mFragment)
+ .commit();
}
@Override
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchUsersResultActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchUsersResultActivity.java
index 2fbfc150..58db6bc7 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchUsersResultActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SearchUsersResultActivity.java
@@ -119,11 +119,12 @@ public class SearchUsersResultActivity extends BaseActivity implements ActivityT
bundle.putString(UserListingFragment.EXTRA_ACCOUNT_NAME, mAccountName);
bundle.putBoolean(UserListingFragment.EXTRA_IS_MULTI_SELECTION, getIntent().getBooleanExtra(EXTRA_IS_MULTI_SELECTION, false));
mFragment.setArguments(bundle);
- getSupportFragmentManager().beginTransaction().replace(R.id.frame_layout_search_users_result_activity, mFragment).commit();
} else {
mFragment = getSupportFragmentManager().getFragment(savedInstanceState, FRAGMENT_OUT_STATE);
- getSupportFragmentManager().beginTransaction().replace(R.id.frame_layout_search_users_result_activity, mFragment).commit();
}
+ getSupportFragmentManager().beginTransaction()
+ .replace(R.id.frame_layout_search_users_result_activity, mFragment)
+ .commit();
}
@Override
diff --git a/app/src/main/res/layout/activity_account_posts.xml b/app/src/main/res/layout/activity_account_posts.xml
index c49cdf72..a15dbc52 100644
--- a/app/src/main/res/layout/activity_account_posts.xml
+++ b/app/src/main/res/layout/activity_account_posts.xml
@@ -33,7 +33,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/frame_layout_account_posts_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/app/src/main/res/layout/activity_anonymous_subscriptions.xml b/app/src/main/res/layout/activity_anonymous_subscriptions.xml
index 85473583..eb030fd8 100644
--- a/app/src/main/res/layout/activity_anonymous_subscriptions.xml
+++ b/app/src/main/res/layout/activity_anonymous_subscriptions.xml
@@ -32,7 +32,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/frame_layout_anonymous_subscriptions_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/app/src/main/res/layout/activity_filtered_thing.xml b/app/src/main/res/layout/activity_filtered_thing.xml
index 5aa0207b..bc2160ff 100644
--- a/app/src/main/res/layout/activity_filtered_thing.xml
+++ b/app/src/main/res/layout/activity_filtered_thing.xml
@@ -34,7 +34,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/frame_layout_filtered_posts_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/app/src/main/res/layout/activity_multireddit_selection.xml b/app/src/main/res/layout/activity_multireddit_selection.xml
index 4c114742..aec94a4f 100644
--- a/app/src/main/res/layout/activity_multireddit_selection.xml
+++ b/app/src/main/res/layout/activity_multireddit_selection.xml
@@ -32,7 +32,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/frame_layout_multireddit_selection_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/app/src/main/res/layout/activity_search_subreddits_result.xml b/app/src/main/res/layout/activity_search_subreddits_result.xml
index b3390378..5824e728 100644
--- a/app/src/main/res/layout/activity_search_subreddits_result.xml
+++ b/app/src/main/res/layout/activity_search_subreddits_result.xml
@@ -23,7 +23,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/frame_layout_search_subreddits_result_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/app/src/main/res/layout/activity_search_users_result.xml b/app/src/main/res/layout/activity_search_users_result.xml
index b594ccb5..cdc6ee54 100644
--- a/app/src/main/res/layout/activity_search_users_result.xml
+++ b/app/src/main/res/layout/activity_search_users_result.xml
@@ -23,7 +23,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/frame_layout_search_users_result_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index 99b93a7a..339d4685 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -28,7 +28,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/frame_layout_settings_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/app/src/main/res/layout/activity_subreddit_selection.xml b/app/src/main/res/layout/activity_subreddit_selection.xml
index fddc0f8e..8d027137 100644
--- a/app/src/main/res/layout/activity_subreddit_selection.xml
+++ b/app/src/main/res/layout/activity_subreddit_selection.xml
@@ -32,7 +32,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/frame_layout_subreddit_selection_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/app/src/main/res/layout/activity_view_multi_reddit_detail.xml b/app/src/main/res/layout/activity_view_multi_reddit_detail.xml
index f5efe407..de606f75 100644
--- a/app/src/main/res/layout/activity_view_multi_reddit_detail.xml
+++ b/app/src/main/res/layout/activity_view_multi_reddit_detail.xml
@@ -33,7 +33,7 @@
</com.google.android.material.appbar.AppBarLayout>
- <FrameLayout
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/frame_layout_view_multi_reddit_detail_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"