added in version 26.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
Deprecated since version 27.1.0

BaseFragment

public class BaseFragment
extends BrandedFragment

java.lang.Object
   ↳ android.app.Fragment
     ↳ android.support.v17.leanback.app.BrandedFragment
       ↳ android.support.v17.leanback.app.BaseFragment
Known Direct Subclasses


This class was deprecated in API level 27.1.0.
use BaseSupportFragment

Base class for leanback Fragments. This class is not intended to be subclassed by apps.

Summary

Inherited constants

From interface android.content.ComponentCallbacks2

Public methods

final ProgressBarManager getProgressBarManager()

Returns the ProgressBarManager.

void onCreate(Bundle savedInstanceState)
void onViewCreated(View view, Bundle savedInstanceState)
void prepareEntranceTransition()

Enables entrance transition.

void startEntranceTransition()

When fragment finishes loading data, it should call startEntranceTransition() to execute the entrance transition.

Protected methods

Object createEntranceTransition()

Create entrance transition.

void onEntranceTransitionEnd()

Callback when entrance transition is ended.

void onEntranceTransitionPrepare()

Callback when entrance transition is prepared.

void onEntranceTransitionStart()

Callback when entrance transition is started.

void runEntranceTransition(Object entranceTransition)

Run entrance transition.

Inherited methods

From class android.support.v17.leanback.app.BrandedFragment
From class android.app.Fragment
From class java.lang.Object
From interface android.content.ComponentCallbacks2
From interface android.view.View.OnCreateContextMenuListener
From interface android.content.ComponentCallbacks

Public methods

getProgressBarManager

added in version 26.1.0
ProgressBarManager getProgressBarManager ()

Returns the ProgressBarManager.

Returns
ProgressBarManager The ProgressBarManager.

onCreate

void onCreate (Bundle savedInstanceState)

Parameters
savedInstanceState Bundle