Fix ClassCastException.

This commit is contained in:
Alex Ning 2021-08-26 20:01:24 +08:00
parent 9c9ca1cb3a
commit 79a7e0f6f6
3 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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"