Skip to content

MaterialCardView InflateException #80

@jenokizm

Description

@jenokizm

im using latest vs2019 + xamarin android 10.2
I successfully updated to AndroidX. when i use androidx.cardview.widget.CardView everything works, but when replaced to com.google.android.material.card.MaterialCardView I get an error

Android.Views.InflateException: 'Binary XML file line #1: Binary XML file line #1: Error inflating class com.google.android.material.card.MaterialCardView'

in

View itemView = LayoutInflater.From(parent.Context).
                       Inflate(Resource.Layout.cv_item_template, parent, false);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions