diff options
author | Sergei Kozelko <KozelkoS@yandex.ru> | 2022-09-25 08:15:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-25 08:15:38 +0000 |
commit | 4947bc1be5ae386f62e9d5018c54fd763c9805c5 (patch) | |
tree | 2633bbdddeb10f38d92819fefb8db64702460f6d /app/src/main/res/layout-land | |
parent | fad978432e2f8c3a676d137d9683bf1f470da1f0 (diff) | |
download | infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.gz infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.bz2 infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.lz infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.xz infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.tar.zst infinity-for-reddit-4947bc1be5ae386f62e9d5018c54fd763c9805c5.zip |
Fix crash in debug build by using fully qualified class name for layoutmanager (#1130)
When the class name is relative, Android tries to resolve it against applicationId.
However it does not match the package because of `.debug` suffix so it tries
to load the wrong class. This results in ClassNotFoundException and a crash.
Using fully qualified class name fixes it as the system can use the class name
as is.
Diffstat (limited to 'app/src/main/res/layout-land')
-rw-r--r-- | app/src/main/res/layout-land/fragment_view_post_detail.xml | 4 |
1 files changed, 2 insertions, 2 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 02bba243..ad693051 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 @@ -25,7 +25,7 @@ android:layout_weight="1" android:paddingBottom="144dp" android:clipToPadding="false" - app:layoutManager=".customviews.LinearLayoutManagerBugFixed" /> + app:layoutManager="ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFixed" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/comments_recycler_view_view_post_detail_fragment" @@ -34,7 +34,7 @@ android:layout_weight="1" android:paddingBottom="144dp" android:clipToPadding="false" - app:layoutManager=".customviews.LinearLayoutManagerBugFixed" /> + app:layoutManager="ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFixed" /> </LinearLayout> |