On Jun 27, 2012, at 8:30 PM, Wally McClure <theevilprogram...@hotmail.com> 
wrote:
> Here is what I ran into.  I had set my activity to implement 
> LoaderManager.ILoaderCallbacks.  Once I did that, I told VS to implement the 
> interface.  This gave me methods like:
>  
> public void OnLoadFinished 
> public void OnLoaderReset
>  
> While VS never blew up, I found this to not be accurate.  I found that:
> public void LoaderManager.ILoaderCallbacks.OnLoadFinished
> public void LoaderManager.ILoaderCallbacks.OnLoaderReset
> are what are actually needed.
This doesn't make sense to me. Why would an explicit interface implementation 
be required?

(Also, your code will not compile unless you remove the `public` keyword.)

>  Another issue that hung me for a little while is that OnLoadFinished takes a 
> Loader  and a Java.Lang.Object to work properly.  In the method, I actually 
> had to convert:
> (Android.database.ICurosr)data;

I don't understand this either. Did you forget some code in that message?

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to