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 26m
Duration
92,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 My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.