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.