On Sep 26, 2013, at 4:36 AM, venkatesh <venkates...@sierratec.com> wrote:
> I have done the steps given by you .
> 
> 2.Add a new  partial class to my binding solution as per your suggestions 
> 
> // Add a new class to your solution: 
>   namespace Com.Ipaulpro.Afilechooser { 
>   partial class FileListFragment { 
>   public void OnLoadFinished(Android.Support.V4.Content.Loader loader,
> Java.Lang.Object value) 
>   { 
>    OnLoadFinished(loader, (Java.Util.List) value); 

My bad; it's Java.Util.IList, not Java.Util.List, but even that is mistaken as 
the generated method is OnLoadFinished(Loader, System.Collections.IList), so 
you'll actually need:

        OnLoadFinished(loader, (System.Collections.IList) value);

> 3. after building , i got bunch of errors.

Unfortunately your diagnostic build output didn't include the generation 
output, so I can't see what warnings were emitted by the generator. If you 
clean and rebuild your project, they should be present.

> *Error        1*      The best overloaded method match for
> Android.Runtime.JavaList<Java.IO.File>.ToLocalJniHandle(System.Collections.Generic.IList<Java.IO.File>)'
> has some invalid arguments    C:\Users\venkatesh.r\documents\visual studio
> 2010\Projects\FileChooser\FileChooser\obj\Debug\generated\src\Com.Ipaulpro.Afilechooser.FileLoader.cs
> 94    11      FileChooser

This doesn't make sense to me. :-(

Can you provide the generated\src\Com.Ipaulpro.Afilechooser.FileLoader.cs 
contents as well as the "complete" build output?

Thanks,
 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to