[mono-android] ActivityGroup deprecated?

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Thu Feb 2 13:07:23 UTC 2012


Hello,

> Hey guys,
>
> So I am using Tabs with multiple ActivityGroups with great success, and then
> by accident I found this on StackOverflow saying ActivityGroup is
> deprecated?
> http://stackoverflow.com/questions/6634233/problem-in-opening-sub-activity-of-activitygroup
>
> So now I am wondering, how do we go about implementing these so called
> TabFragments in Mono Android?  The example from Google
> http://developer.android.com/reference/android/app/TabActivity.html just
> looks absolutely terrible. This seems to me about 100x worse than
> ActivityGroup, I mean what is up with all the boilerplate code they have in
> that example?

Whether you think it's worse or not, we don't have our own recommended 
use of that API. We'll provide ActivityGroup class marked as 
ObsoleteAttribute (as long as the API definition says so).

>
> On another note, can we even use the v4 support package via Mono Android
> yet, should I just stick with ActivityGroup for the time being?

Right now you cannot use it unless you manually bind some C# code to it, 
but our next alpha version will include the compatibility API binding :-)

Atsushi Eno



More information about the Monodroid mailing list