aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-10-22 16:36:13 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-10-22 16:36:13 +0000
commit05e061c5777926625ac5a39956fd012363afaf47 (patch)
tree436687a0891e0376ce3982f6955f55bd7c1eda5c
parentfaca5adc3b74914de870b5615a92f62172cde2cd (diff)
downloadinfinity-for-reddit-05e061c5777926625ac5a39956fd012363afaf47.tar
infinity-for-reddit-05e061c5777926625ac5a39956fd012363afaf47.tar.gz
infinity-for-reddit-05e061c5777926625ac5a39956fd012363afaf47.tar.bz2
infinity-for-reddit-05e061c5777926625ac5a39956fd012363afaf47.tar.lz
infinity-for-reddit-05e061c5777926625ac5a39956fd012363afaf47.tar.xz
infinity-for-reddit-05e061c5777926625ac5a39956fd012363afaf47.tar.zst
infinity-for-reddit-05e061c5777926625ac5a39956fd012363afaf47.zip
Fix app crashes in HistoryPostRecyclerViewAdapter when video autoplay is enabled.
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java48
1 files changed, 48 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java
index 77c1f8fe..680ba84a 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/HistoryPostRecyclerViewAdapter.java
@@ -3168,6 +3168,14 @@ public class HistoryPostRecyclerViewAdapter extends PagingDataAdapter<Post, Recy
ImageView stickiedPostImageView,
TextView postTimeTextView,
TextView titleTextView,
+ CustomTextView typeTextView,
+ ImageView archivedImageView,
+ ImageView lockedImageView,
+ ImageView crosspostImageView,
+ CustomTextView nsfwTextView,
+ CustomTextView spoilerTextView,
+ CustomTextView flairTextView,
+ CustomTextView awardsTextView,
AspectRatioFrameLayout aspectRatioFrameLayout,
GifImageView previewImageView,
ImageView errorLoadingGfycatImageView,
@@ -3448,6 +3456,14 @@ public class HistoryPostRecyclerViewAdapter extends PagingDataAdapter<Post, Recy
binding.stickiedPostImageViewItemPostVideoTypeAutoplay,
binding.postTimeTextViewItemPostVideoTypeAutoplay,
binding.titleTextViewItemPostVideoTypeAutoplay,
+ binding.typeTextViewItemPostVideoTypeAutoplay,
+ binding.archivedImageViewItemPostVideoTypeAutoplay,
+ binding.lockedImageViewItemPostVideoTypeAutoplay,
+ binding.crosspostImageViewItemPostVideoTypeAutoplay,
+ binding.nsfwTextViewItemPostVideoTypeAutoplay,
+ binding.spoilerCustomTextViewItemPostVideoTypeAutoplay,
+ binding.flairCustomTextViewItemPostVideoTypeAutoplay,
+ binding.awardsTextViewItemPostVideoTypeAutoplay,
binding.aspectRatioFrameLayoutItemPostVideoTypeAutoplay,
binding.previewImageViewItemPostVideoTypeAutoplay,
binding.errorLoadingGfycatImageViewItemPostVideoTypeAutoplay,
@@ -3476,6 +3492,14 @@ public class HistoryPostRecyclerViewAdapter extends PagingDataAdapter<Post, Recy
binding.stickiedPostImageViewItemPostVideoTypeAutoplay,
binding.postTimeTextViewItemPostVideoTypeAutoplay,
binding.titleTextViewItemPostVideoTypeAutoplay,
+ binding.typeTextViewItemPostVideoTypeAutoplay,
+ binding.archivedImageViewItemPostVideoTypeAutoplay,
+ binding.lockedImageViewItemPostVideoTypeAutoplay,
+ binding.crosspostImageViewItemPostVideoTypeAutoplay,
+ binding.nsfwTextViewItemPostVideoTypeAutoplay,
+ binding.spoilerCustomTextViewItemPostVideoTypeAutoplay,
+ binding.flairCustomTextViewItemPostVideoTypeAutoplay,
+ binding.awardsTextViewItemPostVideoTypeAutoplay,
binding.aspectRatioFrameLayoutItemPostVideoTypeAutoplay,
binding.previewImageViewItemPostVideoTypeAutoplay,
binding.errorLoadingGfycatImageViewItemPostVideoTypeAutoplay,
@@ -4789,6 +4813,14 @@ public class HistoryPostRecyclerViewAdapter extends PagingDataAdapter<Post, Recy
ImageView stickiedPostImageView,
TextView postTimeTextView,
TextView titleTextView,
+ CustomTextView typeTextView,
+ ImageView archivedImageView,
+ ImageView lockedImageView,
+ ImageView crosspostImageView,
+ CustomTextView nsfwTextView,
+ CustomTextView spoilerTextView,
+ CustomTextView flairTextView,
+ CustomTextView awardsTextView,
AspectRatioFrameLayout aspectRatioFrameLayout,
GifImageView previewImageView,
ImageView errorLoadingGfycatImageView,
@@ -5071,6 +5103,14 @@ public class HistoryPostRecyclerViewAdapter extends PagingDataAdapter<Post, Recy
binding.stickiedPostImageViewItemPostCard2VideoAutoplay,
binding.postTimeTextViewItemPostCard2VideoAutoplay,
binding.titleTextViewItemPostCard2VideoAutoplay,
+ binding.typeTextViewItemPostCard2VideoAutoplay,
+ binding.archivedImageViewItemPostCard2VideoAutoplay,
+ binding.lockedImageViewItemPostCard2VideoAutoplay,
+ binding.crosspostImageViewItemPostCard2VideoAutoplay,
+ binding.nsfwTextViewItemPostCard2VideoAutoplay,
+ binding.spoilerCustomTextViewItemPostCard2VideoAutoplay,
+ binding.flairCustomTextViewItemPostCard2VideoAutoplay,
+ binding.awardsTextViewItemPostCard2VideoAutoplay,
binding.aspectRatioFrameLayoutItemPostCard2VideoAutoplay,
binding.previewImageViewItemPostCard2VideoAutoplay,
binding.errorLoadingGfycatImageViewItemPostCard2VideoAutoplay,
@@ -5100,6 +5140,14 @@ public class HistoryPostRecyclerViewAdapter extends PagingDataAdapter<Post, Recy
binding.stickiedPostImageViewItemPostCard2VideoAutoplay,
binding.postTimeTextViewItemPostCard2VideoAutoplay,
binding.titleTextViewItemPostCard2VideoAutoplay,
+ binding.typeTextViewItemPostCard2VideoAutoplay,
+ binding.archivedImageViewItemPostCard2VideoAutoplay,
+ binding.lockedImageViewItemPostCard2VideoAutoplay,
+ binding.crosspostImageViewItemPostCard2VideoAutoplay,
+ binding.nsfwTextViewItemPostCard2VideoAutoplay,
+ binding.spoilerCustomTextViewItemPostCard2VideoAutoplay,
+ binding.flairCustomTextViewItemPostCard2VideoAutoplay,
+ binding.awardsTextViewItemPostCard2VideoAutoplay,
binding.aspectRatioFrameLayoutItemPostCard2VideoAutoplay,
binding.previewImageViewItemPostCard2VideoAutoplay,
binding.errorLoadingGfycatImageViewItemPostCard2VideoAutoplay,