You may have figured this out already, but...

On Nov 17, 2011, at 12:25 PM, Wally McClure wrote:
> I'm doing some stuff in Honeycomb and have run into two issues with 
> fragments. 
>       • RunOnUIThread.  Is this available in a fragment?

There's a Fragment.Activity property:

        
http://androidapi.xamarin.com/monodoc.ashx?link=P%3aAndroid.App.Fragment.Activity

So use Activity.RunOnUiThread(...). :-)


>       • Can I create a Toast in a fragment?

I don't see why not, you'll just use the Activity property as the "host" 
Context instance.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to