Forum Xamarin.Android


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

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

I'm binding this library:

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:

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 ''
    implementation ''
    implementation ''

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

Sign In or Register to comment.