mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-04 07:17:12 +01:00
Fix an issue in lazy mode.
This commit is contained in:
parent
4f40f73c98
commit
c5480bfb98
@ -208,7 +208,7 @@ public class PostFragment extends Fragment implements FragmentCommunicator {
|
|||||||
if (mPostRecyclerView.getAdapter() != null) {
|
if (mPostRecyclerView.getAdapter() != null) {
|
||||||
((PostRecyclerViewAdapter) mPostRecyclerView.getAdapter()).setCanStartActivity(true);
|
((PostRecyclerViewAdapter) mPostRecyclerView.getAdapter()).setCanStartActivity(true);
|
||||||
}
|
}
|
||||||
if (isInLazyMode && isLazyModePaused) {
|
if (isInLazyMode) {
|
||||||
resumeLazyMode(false);
|
resumeLazyMode(false);
|
||||||
}
|
}
|
||||||
if (mAdapter != null && mPostRecyclerView != null) {
|
if (mAdapter != null && mPostRecyclerView != null) {
|
||||||
@ -356,9 +356,6 @@ public class PostFragment extends Fragment implements FragmentCommunicator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isInLazyMode = savedInstanceState.getBoolean(IS_IN_LAZY_MODE_STATE);
|
isInLazyMode = savedInstanceState.getBoolean(IS_IN_LAZY_MODE_STATE);
|
||||||
if (isInLazyMode) {
|
|
||||||
resumeLazyMode(false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mPostRecyclerView.setOnTouchListener((view, motionEvent) -> {
|
mPostRecyclerView.setOnTouchListener((view, motionEvent) -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user