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:
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
This is the configuration of my VS 2019:
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'
}
If you want the compiled aar file and the project to test it.
Which as you can see I have them all. Any idea, what am I missing? Thanks.