Android Compatibility Package doesn't include Activity.getFragmentManager() -


i started trying add fragments android app, based on 2.1, using android compatibility package came out on march 3rd. included library project, , started moving code activity-based class fragment-based one, noticed fragment examples google seem rely on fact activity class in 3.0 (honeycomb) has new method getfragmentmanager(). seems integral hook fragment system.

i've tried inside compatibility package library included activity implementation has getfragmentmanager(), can't find it. know can find getfragmentmanager() can include fragments honeycomb compatibility, or if not know how can include fragments without using fragmentmanager?

you need extend fragmentactivity instead of normal activity. able call getsupportfragmentmanager() works same way getfragmentmanager().


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -