Channel: PRABEESH R K
Category: Education
Tags: fragment android examplehow to add fragment in activity in android examplefragmentandroid app development tutorialandroid studioandroid studio tutorialhow to create fragment in androidandroid fragments tutorialandroid fragment examplefragment androidandroid fragments
Description: By using Fragments, we can divide the activity into modules. Like activity fragments have their own lifecycle methods. You can add a fragment to activity in two ways. 1. Add Fragment using Fragment tag in XML file. 2. Add Fragment at runtime. Like my Facebook page: facebook.com/codeglympse Subscribe My YouTube channel: youtube.com/ticoontechnologies