On Sep 18, 2011, at 8:02 AM, andineupert wrote:
> How do I have to use the interface? Define a new class, and implement the
> interface?
>
> This way it doesn't work:
>
> public class CustomSeekBarChangeListener : Activity,
> SeekBar.IOnSeekBarChangeListener
I don't think you want this inheriting from Activity (unless you plan on
launching it via Context.StartActivity(), which you don't appear to be doing).
Try inheriting from Java.Lang.Object instead.
> public IntPtr Handle {
> get {
> return new IntPtr();
> }
> }
Furthermore, you should never implement IJavaObject.Handle yourself.
Thanks,
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid