Skip navigation

Replace fragments at runtime

Replace fragments at runtime: Android Development Essential Training: Support Multiple Screens
Replace fragments at runtime: Android Development Essential Training: Support Multiple Screens

In many situations, you might have multiple fragments but only want to show one at a time. You can create a View as a placeholder—or anchor—and then trade out different fragments as need. This is called "replacing" a fragment.

Resume Transcript Auto-Scroll
Skill Level Beginner
1h
Duration
20,990
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.