On Aug 26, 2011, at 12:17 AM, Rodney J. Thomas wrote: > Ok. I just started doing some development in Mono for Android so I may ask > some simple questions. > > In a JavaList<T> object. How do you clear the list. I get a Method not > implemented error.
I'm sorry, that's a bug. :-( It will be fixed in the next release. In the meantime, if you need to clear a list (and you can't just allocate a new JavaList), you can use JNI to invoke it: var list = new JavaList (); var id_clear = JNIEnv.GetMethodID (list.Class.Handle, "clear", "()V"); JNIEnv.CallVoidMethod (list.Handle, id_clear); Thanks, - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid