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/activity_trending.xml | |
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/activity_trending.xml')
-rw-r--r-- | app/src/main/res/layout/activity_trending.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_trending.xml b/app/src/main/res/layout/activity_trending.xml index 9bfe6798..9d96d864 100644 --- a/app/src/main/res/layout/activity_trending.xml +++ b/app/src/main/res/layout/activity_trending.xml @@ -43,7 +43,7 @@ android:id="@+id/recycler_view_trending_activity" android:layout_width="match_parent" android:layout_height="match_parent" - app:layoutManager=".customviews.LinearLayoutManagerBugFixed" /> + app:layoutManager="ml.docilealligator.infinityforreddit.customviews.LinearLayoutManagerBugFixed" /> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |