[mono-android] fragments
    Wallace McClure 
    wallym at scalabledevelopment.com
       
    Wed Nov 30 15:15:31 EST 2011
    
    
  
Thanks Jon.  Yeah, I had figured this stuff out.  I'm not quite sure what was happening that day.  The next morning I came in and boom, it was all there working.  Made me feel foolish, but its not the first time.
Wally
On Nov 30, 2011, at 7:11 PM, Jonathan Pryor wrote:
> 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 at lists.ximian.com
> 
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
    
    
More information about the Monodroid
mailing list