Skip navigation

Explore the FragmentTransaction class

Explore the FragmentTransaction class: Building Flexible Android Apps with the Fragments API
Explore the FragmentTransaction class: Building Flexible Android Apps with the Fragments API

You can manage fragments programmatically with Java code using the FragmentManager and FragmentTransaction classes. These classes were added to the SDK as a part of the fragments api in Android 3, or Honeycomb. When you create an app, and you set the minimum SDK to SDK 14 or 15, all you need is the current version of the FragmentManager. If you need to build an app that supports older versions of Android, you can do this with the support version. When you create apps with fragments in Android Studio though, you’ll see that it always uses the support versions of these classes. There isn’t any downside to doing this, and it makes your app more flexible and maintainable in the long run.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 28m
Duration
20,346
Views
Show More Show Less
Skills covered in this course
Developer Mobile Apps Android

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now