to top
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

? Examples
FragmentCompat()
Public Methods

? Examples
static void setMenuVisibility( Fragment f, boolean visible)
Call Fragment.setMenuVisibility(boolean) if running on an appropriate version of the platform.

? Examples
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.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.