diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-12-24 06:11:34 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-12-24 06:11:34 +0000 |
commit | 24b33bb05ddb90ed7c0fcd654d6e7b1add50819d (patch) | |
tree | 52c903e7b1047ad39619bd985148b9b9f355dfb1 /app/src/main/java | |
parent | a6a46bb29f950a8d568b61ec1cb4f20f1b501c36 (diff) | |
download | infinity-for-reddit-24b33bb05ddb90ed7c0fcd654d6e7b1add50819d.tar infinity-for-reddit-24b33bb05ddb90ed7c0fcd654d6e7b1add50819d.tar.gz infinity-for-reddit-24b33bb05ddb90ed7c0fcd654d6e7b1add50819d.tar.bz2 infinity-for-reddit-24b33bb05ddb90ed7c0fcd654d6e7b1add50819d.tar.lz infinity-for-reddit-24b33bb05ddb90ed7c0fcd654d6e7b1add50819d.tar.xz infinity-for-reddit-24b33bb05ddb90ed7c0fcd654d6e7b1add50819d.tar.zst infinity-for-reddit-24b33bb05ddb90ed7c0fcd654d6e7b1add50819d.zip |
Fix ItemTouchHelper issue?
Diffstat (limited to 'app/src/main/java')
4 files changed, 0 insertions, 13 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java index feb811aa..1d6c7d36 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/CommentsListingFragment.java @@ -180,9 +180,6 @@ public class CommentsListingFragment extends Fragment implements FragmentCommuni exceedThreshold = false; touchHelper.attachToRecyclerView(null); touchHelper.attachToRecyclerView(mCommentRecyclerView); - if (mAdapter != null) { - mAdapter.onItemSwipe(viewHolder, direction, swipeLeftAction, swipeRightAction); - } } } diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/HistoryPostFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/HistoryPostFragment.java index dcdda517..e85e2b2a 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/HistoryPostFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/HistoryPostFragment.java @@ -496,9 +496,6 @@ public class HistoryPostFragment extends Fragment implements FragmentCommunicato exceedThreshold = false; touchHelper.attachToRecyclerView(null); touchHelper.attachToRecyclerView(mPostRecyclerView); - if (mAdapter != null) { - mAdapter.onItemSwipe(viewHolder, direction, swipeLeftAction, swipeRightAction); - } } } diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/PostFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/PostFragment.java index af2d68e0..d41894a3 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/PostFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/PostFragment.java @@ -16,7 +16,6 @@ import android.os.Build; import android.os.Bundle; import android.os.CountDownTimer; import android.os.Handler; -import android.util.Log; import android.view.HapticFeedbackConstants; import android.view.KeyEvent; import android.view.LayoutInflater; @@ -1087,9 +1086,6 @@ public class PostFragment extends Fragment implements FragmentCommunicator { exceedThreshold = false; touchHelper.attachToRecyclerView(null); touchHelper.attachToRecyclerView(mPostRecyclerView); - if (mAdapter != null) { - mAdapter.onItemSwipe(viewHolder, direction, swipeLeftAction, swipeRightAction); - } } } diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java index 02e2bdd4..ee058b57 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewPostDetailFragment.java @@ -459,9 +459,6 @@ public class ViewPostDetailFragment extends Fragment implements FragmentCommunic exceedThreshold = false; touchHelper.attachToRecyclerView(null); touchHelper.attachToRecyclerView((mCommentsRecyclerView == null ? mRecyclerView : mCommentsRecyclerView)); - if (mCommentsAdapter != null) { - mCommentsAdapter.onItemSwipe(viewHolder, direction, swipeLeftAction, swipeRightAction); - } } } |