android10 / android10/Android-CleanArchitecture
UnsupportedOperationException due to injection of Application Context while inflating layout in adapter.
Open
- Dominant language
- Java
- Stars
- 15.5k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
So I was trying to set `android:background="?selectableItemBackground"` on the adapter item view when I ran into this issue. On further research I found out that passing application context while creating custom view results in this issue. This seriously limits injecting the adapter.
Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.