aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-08-26 12:01:24 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-08-26 12:01:24 +0000
commit79a7e0f6f6033b0bcfb013d75fc2c5a67b36c5ae (patch)
tree0dbaeb3d4e14a92fa32e77bc0417758cd0c2e813 /app/src
parent9c9ca1cb3a4f99866d0b08c0fae4fc5d4c23ea18 (diff)
downloadinfinity-for-reddit-79a7e0f6f6033b0bcfb013d75fc2c5a67b36c5ae.tar
infinity-for-reddit-79a7e0f6f6033b0bcfb013d75fc2c5a67b36c5ae.tar.gz
infinity-for-reddit-79a7e0f6f6033b0bcfb013d75fc2c5a67b36c5ae.tar.bz2
infinity-for-reddit-79a7e0f6f6033b0bcfb013d75fc2c5a67b36c5ae.tar.lz
infinity-for-reddit-79a7e0f6f6033b0bcfb013d75fc2c5a67b36c5ae.tar.xz
infinity-for-reddit-79a7e0f6f6033b0bcfb013d75fc2c5a67b36c5ae.tar.zst
infinity-for-reddit-79a7e0f6f6033b0bcfb013d75fc2c5a67b36c5ae.zip
Fix ClassCastException.
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/layout-land/fragment_view_post_detail.xml4
-rw-r--r--app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml4
-rw-r--r--app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml2
3 files changed, 5 insertions, 5 deletions
diff --git a/app/src/main/res/layout-land/fragment_view_post_detail.xml b/app/src/main/res/layout-land/fragment_view_post_detail.xml
index 2b107e94..3b35b38b 100644
--- a/app/src/main/res/layout-land/fragment_view_post_detail.xml
+++ b/app/src/main/res/layout-land/fragment_view_post_detail.xml
@@ -24,7 +24,7 @@
android:layout_height="match_parent"
android:layout_weight="1"
android:clipToPadding="false"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/comments_recycler_view_view_post_detail_fragment"
@@ -33,7 +33,7 @@
android:layout_weight="1"
android:paddingBottom="144dp"
android:clipToPadding="false"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed" />
</LinearLayout>
diff --git a/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml b/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml
index d7fd9d2a..d1637b0c 100644
--- a/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml
+++ b/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml
@@ -24,7 +24,7 @@
android:layout_height="match_parent"
android:layout_weight="1"
android:clipToPadding="false"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/comments_recycler_view_view_post_detail_fragment"
@@ -33,7 +33,7 @@
android:layout_weight="1"
android:paddingBottom="144dp"
android:clipToPadding="false"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed" />
</LinearLayout>
diff --git a/app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml b/app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml
index c4a571c3..7922dc7a 100644
--- a/app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml
+++ b/app/src/main/res/layout/exo_rpan_broadcast_playback_control_view.xml
@@ -142,7 +142,7 @@
android:paddingEnd="16dp"
app:layout_constraintTop_toBottomOf="@id/control_linear_layout"
app:layout_constraintBottom_toTopOf="@id/time_bar_linear_layout"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed" />
<LinearLayout
android:id="@+id/time_bar_linear_layout"