Skip to content

Commit

Permalink
Reduce ItemTouchHelper sensitivity in ViewPostDetailFragment by using…
Browse files Browse the repository at this point in the history
… AdjustableTouchSlopItemTouchHelper. Refine ItemTouchHelper onChildDraw in CommentsListingFragment.
  • Loading branch information
Docile-Alligator committed Oct 29, 2024
1 parent 14bcbd5 commit 8663477
Show file tree
Hide file tree
Showing 7 changed files with 2,610 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import android.os.Bundle;
import android.os.Handler;
import android.text.Spanned;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand Down Expand Up @@ -41,9 +40,6 @@
import io.noties.markwon.core.MarkwonTheme;
import jp.wasabeef.glide.transformations.RoundedCornersTransformation;
import ml.docilealligator.infinityforreddit.R;
import ml.docilealligator.infinityforreddit.thing.SaveThing;
import ml.docilealligator.infinityforreddit.thing.SortType;
import ml.docilealligator.infinityforreddit.thing.VoteThing;
import ml.docilealligator.infinityforreddit.account.Account;
import ml.docilealligator.infinityforreddit.activities.BaseActivity;
import ml.docilealligator.infinityforreddit.activities.CommentActivity;
Expand Down Expand Up @@ -78,6 +74,9 @@
import ml.docilealligator.infinityforreddit.markdown.ImageAndGifPlugin;
import ml.docilealligator.infinityforreddit.markdown.MarkdownUtils;
import ml.docilealligator.infinityforreddit.post.Post;
import ml.docilealligator.infinityforreddit.thing.SaveThing;
import ml.docilealligator.infinityforreddit.thing.SortType;
import ml.docilealligator.infinityforreddit.thing.VoteThing;
import ml.docilealligator.infinityforreddit.utils.APIUtils;
import ml.docilealligator.infinityforreddit.utils.SharedPreferencesUtils;
import ml.docilealligator.infinityforreddit.utils.Utils;
Expand Down Expand Up @@ -1062,7 +1061,6 @@ public void editComment(Comment comment, int position) {

if (mIsSingleCommentThreadMode) {
notifyItemChanged(position + 1);
Log.i("asdfasdf", "asdf");
} else {
notifyItemChanged(position);
}
Expand Down
Loading

0 comments on commit 8663477

Please sign in to comment.