问题
here is screenshots of my xml(activity) file + the preview that stays empty...
https://ibb.co/3d9BjYz https://ibb.co/3CvTJKh
回答1:
Please read AdapterView explanation in Android Documentation. Here is the explanation: "An AdapterView is a view whose children are determined by an Adapter."
You didn't share your Java code, but you need an Adapter to bind data and view. Please check getView method in your Adapter. Your problem should be related with the parent view in your Adapter class.
来源:https://stackoverflow.com/questions/62269868/exception-raised-during-rendering-addviewview-layoutparams-is-not-supported