Android Fragment

Android Fragment

  1. Android Add Fragment To Activity Dynamically Example
    This article show you how to use android Fragment dynamically with examples.
  2. Android Fragment Back Stack Example
    This article contains example about how to use fragment backstack to save and return fragments.
  3. Android Fragment Communication With Activity Example
    Show you how to communicate between fragments and activity in android application.
  4. Android Fragment Lifecycle
    This article introduce android Fragment lifecycle and related callback methods with examples.
  5. Android Fragment Menu Example
    This article introduce how to add menu items for android Fragment and how to handle and distinguish menu item click event between fragment menu item and activity menu item.
  6. Android Fragment Save / Retrieve Instance State Example
    This article has an example about how to save or retrieve instance state data in Fragment.
  7. Android Multiple Fragments In One Activity Example
    This article introduce android Fragment and how to use it. It also includes examples about how to communicate between Fragment and Activity.
  8. Simple Android News App Compatible With Phones and Tablets
    This example show you how to use RecyclerView, Fragment, Qualifier, PercentRelativeLayout to implement a simple android news reader app.