BaseFragment

public class BaseFragment
extends BrandedFragment

java.lang.Object
   ↳ android.app.Fragment
     ↳ androidx.leanback.app.BrandedFragment
       ↳ androidx.leanback.app.BaseFragment


This class is deprecated.
use BaseSupportFragment

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

Summary

Inherited constants

Public methods

final ProgressBarManager getProgressBarManager()

Returns the ProgressBarManager.

void onCreate(Bundle savedInstanceState)
void onDestroyView()
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