Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

FragmentCompat

extends Object
java.lang.Object
   ↳ android.support.v13.app.FragmentCompat

Class Overview

Helper for accessing features in Fragment introduced after API level 13 in a backwards compatible fashion.

Summary

Public Constructors
FragmentCompat ()
Public Methods
static void setMenuVisibility ( Fragment f, boolean visible)
Call Fragment.setMenuVisibility(boolean) if running on an appropriate version of the platform.
static void setUserVisibleHint ( Fragment f, boolean deferStart)
Call setUserVisibleHint(boolean) if running on an appropriate version of the platform.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FragmentCompat ()

Public Methods

public static void setMenuVisibility ( Fragment f, boolean visible)

Call Fragment.setMenuVisibility(boolean) if running on an appropriate version of the platform.

public static void setUserVisibleHint ( Fragment f, boolean deferStart)

Call setUserVisibleHint(boolean) if running on an appropriate version of the platform.