Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Java Library Binding - public methods that override base class does not get wrapped

$
0
0

I'm trying to bind a java library which contains a view that extends android.view.ViewGroup, and it has overloaded implementation of android.view.onTouchEvent:

public class myView extends android.view.ViewGroup { @Override public boolean onTouchEvent (MotionEvent event) { super.onTouchEvent(event); // do something } }

However, following this guide(http://docs.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_(.jar)), the dll created does not contain this method. I tried to change the visibility in the metadata but it did not help:

public

Other methods that are not @Override got converted fine in the new library dll. But methods that are @Override are all missing even if declared as public.

Any thoughts / ideas?

Thank you!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>