Android binding issue

Hi Everyone,

I am trying to create a binding for the android library located on GitHub called CarouselLayoutManager.

I have created the binding project and I have the output dll, which includes all the classes I would expect, but when I build I get the following errors in my project which references the Carousel classes:

Error: cannot access ScrollVectorProvider
public class CarouselLayoutManager_OnCenterItemSelectionListenerImplementor
class file for android.support.v7.widget.RecyclerView$SmoothScroller$ScrollVectorProvider not found \obj\Debug\android\src\mono\com\azoft\carousellayoutmanager\CarouselLayoutManager_OnCenterItemSelectionListenerImplementor.java 4

Error: cannot find symbol mono.android.TypeManager.Activate ("Com.Azoft.Carousellayoutmanager.CarouselLayoutManager+IOnCenterItemSelectionListenerImplementor, AndroidCarouselBinding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] { });
symbol: variable this
location: class CarouselLayoutManager_OnCenterItemSelectionListenerImplementor \obj\Debug\android\src\mono\com\azoft\carousellayoutmanager\CarouselLayoutManager_OnCenterItemSelectionListenerImplementor.java 24

It seems the binding is falling down on the 'this' keyword and Java and the ScrollVectorProvider class which is part of the Android support libraries.
Does anybody know how to resolve these issues?
They are not mentioned in the troubleshooting guide but I imagine they are quite common in binding projects.

Sign In or Register to comment.