You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected to see a preview of the recycler view but instead an error message shows up: java.lang.NullPointerReference. It only shows in the xml preview initially. However, I also get "This project contains resources that were not compiled successfully, rendering might be affected" after closing and reopening the project in visual studio. I have also tried other controls from the androidx library and the same thing happens.
Add androidx control to activity_main.xml (in this case recycler view)
See error message in the xml preview. No errors in the error list.
Did you find any workaround?
No response
Relevant log output
'Binary XML file line #1 in com.companyname.ToDo:layout/activity_main: Binary XML file line #1 in com.companyname.ToDo:layout/activity_main: Error inflating class androidx.recyclerview.widget.RecyclerView'
The text was updated successfully, but these errors were encountered:
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
VS 2022 .NET 8.0
Description
I expected to see a preview of the recycler view but instead an error message shows up: java.lang.NullPointerReference. It only shows in the xml preview initially. However, I also get "This project contains resources that were not compiled successfully, rendering might be affected" after closing and reopening the project in visual studio. I have also tried other controls from the androidx library and the same thing happens.
Please see the video below
https://github.com/user-attachments/assets/1575f431-d88f-4b54-b839-d182aeab33f6
Steps to Reproduce
Did you find any workaround?
No response
Relevant log output
'Binary XML file line #1 in com.companyname.ToDo:layout/activity_main: Binary XML file line #1 in com.companyname.ToDo:layout/activity_main: Error inflating class androidx.recyclerview.widget.RecyclerView'
The text was updated successfully, but these errors were encountered: