Error CS0115 '...OnBindViewHolder(Object, int)': no suitable method found to override

I'm binding this library:

https://github.com/mancj/MaterialSearchBar

And generally it works, however, I have an issue when I try to add the support of the RecyclerView, I added the following libraries:

And I got the following errors:

I tried to follow this advice of creating some partial classes:

https://stackoverflow.com/questions/45754424/xamarin-android-binding-thorw-does-not-implement-inherited-abstract-member-rec

But it didn't work and I started to get duplicates, personally, I believe the main issue is here:

Severity Code Description Project File Line Suppression State
Error CS0115 'SuggestionsAdapter.OnBindViewHolder(Object, int)': no suitable method found to override Xamarin-MaterialSearchBar C:\Users\feder\source\repos\Xamarin-MaterialSearchBar\Xamarin-MaterialSearchBar\obj\Release\generated\src\Com.Mancj.Materialsearchbar.Adapter.SuggestionsAdapter.cs 666 Active

The only dependencies in the Gradle of the project are the following ones:

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    testImplementation 'junit:junit:4.12'
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.android.support:cardview-v7:28.0.0'
}

Which as you can see I have them all. Any idea, what am I missing? Thanks.

Sign In or Register to comment.