# DetailsFragment

Artifact: [androidx.leanback:leanback](https://developer.android.com/jetpack/androidx/releases/leanback) [View Source](https://cs.android.com/search?q=file:androidx/leanback/app/DetailsFragment.java+class:androidx.leanback.app.DetailsFragment) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

*** ** * ** ***


```
class DetailsFragment : BaseFragment
```

<br />

|---|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||||
| ↳ | [android.app.Fragment](https://developer.android.com/reference/android/app/Fragment.html) ||||
|   | ↳ | [androidx.leanback.app.BrandedFragment](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment) |||
|   |   | ↳ | [androidx.leanback.app.BaseFragment](https://developer.android.com/reference/kotlin/androidx/leanback/app/BaseFragment) ||
|   |   |   | ↳ | [androidx.leanback.app.DetailsFragment](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment) |

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
>
> use `https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsSupportFragment`

A fragment for creating Leanback details screens.

A DetailsFragment renders the elements of its `https://developer.android.com/reference/kotlin/androidx/leanback/widget/ObjectAdapter` as a set of rows in a vertical list.The Adapter's `https://developer.android.com/reference/kotlin/androidx/leanback/widget/PresenterSelector` must maintain subclasses of `https://developer.android.com/reference/kotlin/androidx/leanback/widget/RowPresenter`.
When `https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter` is found in adapter, DetailsFragment will setup default behavior of the DetailsOverviewRow:

- The alignment of FullWidthDetailsOverviewRowPresenter is setup in `https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setupDetailsOverviewRowPresenter(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter)`.
- The view status switching of FullWidthDetailsOverviewRowPresenter is done in `https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onSetDetailsOverviewRowStatus(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter,androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder,int,int,int)`.

The recommended activity themes to use with a DetailsFragment are

- with activity shared element transition for `https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter`.
- if shared element transition is not needed, for example if first row is not rendered by `https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter`.

DetailsFragment can use `https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragmentBackgroundController` to add a parallax drawable background and embedded video playing fragment.

## Summary

| ### Public constructors |
|---|
| `[DetailsFragment](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#DetailsFragment())()` **This function is deprecated.** Deprecated in Java |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/leanback/widget/ObjectAdapter!` | `[getAdapter](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#getAdapter())()` **This function is deprecated.** Deprecated in Java |
| `https://developer.android.com/reference/kotlin/androidx/leanback/widget/BaseOnItemViewClickedListener!` | `[getOnItemViewClickedListener](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#getOnItemViewClickedListener())()` **This function is deprecated.** Deprecated in Java |
| `https://developer.android.com/reference/kotlin/androidx/leanback/widget/DetailsParallax!` | `[getParallax](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#getParallax())()` **This function is deprecated.** Deprecated in Java |
| `https://developer.android.com/reference/kotlin/androidx/leanback/app/RowsFragment!` | `[getRowsFragment](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#getRowsFragment())()` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onCreate](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onCreate(android.os.Bundle))(savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html!)` **This function is deprecated.** |
| `https://developer.android.com/reference/android/view/View.html?` | `[onCreateView](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onCreateView(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle))( inflater: https://developer.android.com/reference/android/view/LayoutInflater.html!, container: https://developer.android.com/reference/android/view/ViewGroup.html?, savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html! )` **This function is deprecated.** |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onDestroyView](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onDestroyView())()` **This function is deprecated.** |
| `https://developer.android.com/reference/android/view/View.html` | `[onInflateTitleView](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onInflateTitleView(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle))( inflater: https://developer.android.com/reference/android/view/LayoutInflater.html, parent: https://developer.android.com/reference/android/view/ViewGroup.html?, savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html? )` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onStart](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onStart())()` **This function is deprecated.** |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onStop](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onStop())()` **This function is deprecated.** |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setAdapter](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setAdapter(androidx.leanback.widget.ObjectAdapter))(adapter: https://developer.android.com/reference/kotlin/androidx/leanback/widget/ObjectAdapter!)` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setOnItemViewClickedListener](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setOnItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener))(listener: https://developer.android.com/reference/kotlin/androidx/leanback/widget/BaseOnItemViewClickedListener!)` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setOnItemViewSelectedListener](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setOnItemViewSelectedListener(androidx.leanback.widget.BaseOnItemViewSelectedListener))(listener: https://developer.android.com/reference/kotlin/androidx/leanback/widget/BaseOnItemViewSelectedListener!)` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setSelectedPosition](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setSelectedPosition(int))(position: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setSelectedPosition](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setSelectedPosition(int,boolean))(position: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, smooth: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` **This function is deprecated.** Deprecated in Java |

| ### Protected functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `[createEntranceTransition](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#createEntranceTransition())()` **This function is deprecated.** Deprecated in Java |
| `https://developer.android.com/reference/android/view/View.html!` | `[inflateTitle](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#inflateTitle(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle))( inflater: https://developer.android.com/reference/android/view/LayoutInflater.html!, parent: https://developer.android.com/reference/android/view/ViewGroup.html!, savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html! )` **This function is deprecated.** override `https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#onInflateTitleView(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle)` instead. <br /> |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onEntranceTransitionEnd](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onEntranceTransitionEnd())()` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onEntranceTransitionPrepare](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onEntranceTransitionPrepare())()` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onEntranceTransitionStart](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onEntranceTransitionStart())()` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onSetDetailsOverviewRowStatus](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onSetDetailsOverviewRowStatus(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter,androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder,int,int,int))( presenter: https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter!, viewHolder: https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter.ViewHolder!, adapterPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, selectedPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, selectedSubPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onSetRowStatus](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onSetRowStatus(androidx.leanback.widget.RowPresenter,androidx.leanback.widget.RowPresenter.ViewHolder,int,int,int))( presenter: https://developer.android.com/reference/kotlin/androidx/leanback/widget/RowPresenter!, viewHolder: https://developer.android.com/reference/kotlin/androidx/leanback/widget/RowPresenter.ViewHolder!, adapterPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, selectedPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, selectedSubPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html )` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[runEntranceTransition](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#runEntranceTransition(java.lang.Object))(entranceTransition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setupDetailsOverviewRowPresenter](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setupDetailsOverviewRowPresenter(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter))( presenter: https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter! )` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setupPresenter](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setupPresenter(androidx.leanback.widget.Presenter))(rowPresenter: https://developer.android.com/reference/kotlin/androidx/leanback/widget/Presenter!)` **This function is deprecated.** Deprecated in Java |

### Inherited Constants

From [android.content.ComponentCallbacks2](https://developer.android.com/reference/android/content/ComponentCallbacks2.html) `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_BACKGROUND = 40`

**This property is deprecated.** Deprecated in Java
`const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_COMPLETE = 80`

**This property is deprecated.**
`const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_MODERATE = 60`

**This property is deprecated.**
`const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_RUNNING_CRITICAL = 15`

**This property is deprecated.**
`const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_RUNNING_LOW = 10`

**This property is deprecated.**
`const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_RUNNING_MODERATE = 5`

**This property is deprecated.**
`const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_UI_HIDDEN = 20`

**This property is deprecated.** Deprecated in Java

### Inherited functions

From [androidx.leanback.app.BaseFragment](https://developer.android.com/reference/kotlin/androidx/leanback/app/BaseFragment) `https://developer.android.com/reference/kotlin/androidx/leanback/app/ProgressBarManager!` `[getProgressBarManager](https://developer.android.com/reference/kotlin/androidx/leanback/app/BaseFragment#getProgressBarManager())()`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onViewCreated](https://developer.android.com/reference/kotlin/androidx/leanback/app/BaseFragment#onViewCreated(android.view.View,android.os.Bundle))(view: https://developer.android.com/reference/android/view/View.html, savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html?)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[prepareEntranceTransition](https://developer.android.com/reference/kotlin/androidx/leanback/app/BaseFragment#prepareEntranceTransition())()`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startEntranceTransition](https://developer.android.com/reference/kotlin/androidx/leanback/app/BaseFragment#startEntranceTransition())()`

**This function is deprecated.** Deprecated in Java
From [androidx.leanback.app.BrandedFragment](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment) `https://developer.android.com/reference/android/graphics/drawable/Drawable.html?` `[getBadgeDrawable](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#getBadgeDrawable())()`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[getSearchAffordanceColor](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#getSearchAffordanceColor())()`

**This function is deprecated.** Deprecated in Java
`https://developer.android.com/reference/kotlin/androidx/leanback/widget/SearchOrbView.Colors?` `[getSearchAffordanceColors](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#getSearchAffordanceColors())()`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` `[getTitle](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#getTitle())()`

**This function is deprecated.** Deprecated in Java
`https://developer.android.com/reference/android/view/View.html?` `[getTitleView](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#getTitleView())()`

**This function is deprecated.** Deprecated in Java
`https://developer.android.com/reference/kotlin/androidx/leanback/widget/TitleViewAdapter?` `[getTitleViewAdapter](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#getTitleViewAdapter())()`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[installTitleView](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#installTitleView(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle))(
inflater: https://developer.android.com/reference/android/view/LayoutInflater.html,
parent: https://developer.android.com/reference/android/view/ViewGroup.html,
savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html?
)`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[isShowingTitle](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#isShowingTitle())()`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onPause](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#onPause())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onResume](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#onResume())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onSaveInstanceState](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#onSaveInstanceState(android.os.Bundle))(outState: https://developer.android.com/reference/android/os/Bundle.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setBadgeDrawable](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#setBadgeDrawable(android.graphics.drawable.Drawable))(drawable: https://developer.android.com/reference/android/graphics/drawable/Drawable.html?)`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setOnSearchClickedListener](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#setOnSearchClickedListener(android.view.View.OnClickListener))(listener: https://developer.android.com/reference/android/view/View.OnClickListener.html?)`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setSearchAffordanceColor](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#setSearchAffordanceColor(int))(color: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setSearchAffordanceColors](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#setSearchAffordanceColors(androidx.leanback.widget.SearchOrbView.Colors))(colors: https://developer.android.com/reference/kotlin/androidx/leanback/widget/SearchOrbView.Colors)`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setTitle](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#setTitle(java.lang.CharSequence))(title: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?)`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setTitleView](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#setTitleView(android.view.View))(titleView: https://developer.android.com/reference/android/view/View.html?)`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[showTitle](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#showTitle(int))(flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.** Deprecated in Java
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[showTitle](https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#showTitle(boolean))(show: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.** Deprecated in Java
From [android.app.Fragment](https://developer.android.com/reference/android/app/Fragment.html) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[dump](https://developer.android.com/reference/android/app/Fragment.html#dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]))(
prefix: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!,
fd: https://developer.android.com/reference/java/io/FileDescriptor.html!,
writer: https://developer.android.com/reference/java/io/PrintWriter.html!,
args: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!
)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[equals](https://developer.android.com/reference/android/app/Fragment.html#equals(java.lang.Object))(o: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)`

**This function is deprecated.**
`https://developer.android.com/reference/android/app/Activity.html!` `[getActivity](https://developer.android.com/reference/android/app/Fragment.html#getActivity())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[getAllowEnterTransitionOverlap](https://developer.android.com/reference/android/app/Fragment.html#getAllowEnterTransitionOverlap())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[getAllowReturnTransitionOverlap](https://developer.android.com/reference/android/app/Fragment.html#getAllowReturnTransitionOverlap())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/os/Bundle.html!` `[getArguments](https://developer.android.com/reference/android/app/Fragment.html#getArguments())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/app/FragmentManager.html!` `[getChildFragmentManager](https://developer.android.com/reference/android/app/Fragment.html#getChildFragmentManager())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/content/Context.html!` `[getContext](https://developer.android.com/reference/android/app/Fragment.html#getContext())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/transition/Transition.html!` `[getEnterTransition](https://developer.android.com/reference/android/app/Fragment.html#getEnterTransition())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/transition/Transition.html!` `[getExitTransition](https://developer.android.com/reference/android/app/Fragment.html#getExitTransition())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/app/FragmentManager.html!` `[getFragmentManager](https://developer.android.com/reference/android/app/Fragment.html#getFragmentManager())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` `[getHost](https://developer.android.com/reference/android/app/Fragment.html#getHost())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[getId](https://developer.android.com/reference/android/app/Fragment.html#getId())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/view/LayoutInflater.html!` `[getLayoutInflater](https://developer.android.com/reference/android/app/Fragment.html#getLayoutInflater())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/app/LoaderManager.html!` `[getLoaderManager](https://developer.android.com/reference/android/app/Fragment.html#getLoaderManager())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/app/Fragment.html!` `[getParentFragment](https://developer.android.com/reference/android/app/Fragment.html#getParentFragment())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/transition/Transition.html!` `[getReenterTransition](https://developer.android.com/reference/android/app/Fragment.html#getReenterTransition())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/content/res/Resources.html!` `[getResources](https://developer.android.com/reference/android/app/Fragment.html#getResources())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[getRetainInstance](https://developer.android.com/reference/android/app/Fragment.html#getRetainInstance())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/transition/Transition.html!` `[getReturnTransition](https://developer.android.com/reference/android/app/Fragment.html#getReturnTransition())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/transition/Transition.html!` `[getSharedElementEnterTransition](https://developer.android.com/reference/android/app/Fragment.html#getSharedElementEnterTransition())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/transition/Transition.html!` `[getSharedElementReturnTransition](https://developer.android.com/reference/android/app/Fragment.html#getSharedElementReturnTransition())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` `[getString](https://developer.android.com/reference/android/app/Fragment.html#getString(int))(resId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` `[getTag](https://developer.android.com/reference/android/app/Fragment.html#getTag())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/app/Fragment.html!` `[getTargetFragment](https://developer.android.com/reference/android/app/Fragment.html#getTargetFragment())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[getTargetRequestCode](https://developer.android.com/reference/android/app/Fragment.html#getTargetRequestCode())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` `[getText](https://developer.android.com/reference/android/app/Fragment.html#getText(int))(resId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[getUserVisibleHint](https://developer.android.com/reference/android/app/Fragment.html#getUserVisibleHint())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/view/View.html!` `[getView](https://developer.android.com/reference/android/app/Fragment.html#getView())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` `[hashCode](https://developer.android.com/reference/android/app/Fragment.html#hashCode())()`

**This function is deprecated.**
`java-static https://developer.android.com/reference/android/app/Fragment.html!` `[instantiate](https://developer.android.com/reference/android/app/Fragment.html#instantiate(android.content.Context, java.lang.String))(context: https://developer.android.com/reference/android/content/Context.html!, fname: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[isAdded](https://developer.android.com/reference/android/app/Fragment.html#isAdded())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[isDetached](https://developer.android.com/reference/android/app/Fragment.html#isDetached())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[isHidden](https://developer.android.com/reference/android/app/Fragment.html#isHidden())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[isInLayout](https://developer.android.com/reference/android/app/Fragment.html#isInLayout())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[isRemoving](https://developer.android.com/reference/android/app/Fragment.html#isRemoving())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[isResumed](https://developer.android.com/reference/android/app/Fragment.html#isResumed())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[isStateSaved](https://developer.android.com/reference/android/app/Fragment.html#isStateSaved())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[isVisible](https://developer.android.com/reference/android/app/Fragment.html#isVisible())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onActivityCreated](https://developer.android.com/reference/android/app/Fragment.html#onActivityCreated(android.os.Bundle))(savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onActivityResult](https://developer.android.com/reference/android/app/Fragment.html#onActivityResult(int, int, android.content.Intent))(requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, resultCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, data: https://developer.android.com/reference/android/content/Intent.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onAttach](https://developer.android.com/reference/android/app/Fragment.html#onAttach(android.app.Activity))(activity: https://developer.android.com/reference/android/app/Activity.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onAttachFragment](https://developer.android.com/reference/android/app/Fragment.html#onAttachFragment(android.app.Fragment))(childFragment: https://developer.android.com/reference/android/app/Fragment.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onConfigurationChanged](https://developer.android.com/reference/android/app/Fragment.html#onConfigurationChanged(android.content.res.Configuration))(newConfig: https://developer.android.com/reference/android/content/res/Configuration.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[onContextItemSelected](https://developer.android.com/reference/android/app/Fragment.html#onContextItemSelected(android.view.MenuItem))(item: https://developer.android.com/reference/android/view/MenuItem.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onCreate](https://developer.android.com/reference/android/app/Fragment.html#onCreate(android.os.Bundle))(savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html!)`

**This function is deprecated.**
`https://developer.android.com/reference/android/animation/Animator.html!` `[onCreateAnimator](https://developer.android.com/reference/android/app/Fragment.html#onCreateAnimator(int, boolean, int))(transit: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, enter: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, nextAnim: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onCreateContextMenu](https://developer.android.com/reference/android/app/Fragment.html#onCreateContextMenu(android.view.ContextMenu, android.view.View, android.view.ContextMenu.ContextMenuInfo))(
menu: https://developer.android.com/reference/android/view/ContextMenu.html!,
v: https://developer.android.com/reference/android/view/View.html!,
menuInfo: https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html!
)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onCreateOptionsMenu](https://developer.android.com/reference/android/app/Fragment.html#onCreateOptionsMenu(android.view.Menu, android.view.MenuInflater))(menu: https://developer.android.com/reference/android/view/Menu.html!, inflater: https://developer.android.com/reference/android/view/MenuInflater.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onDestroy](https://developer.android.com/reference/android/app/Fragment.html#onDestroy())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onDestroyOptionsMenu](https://developer.android.com/reference/android/app/Fragment.html#onDestroyOptionsMenu())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onDestroyView](https://developer.android.com/reference/android/app/Fragment.html#onDestroyView())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onDetach](https://developer.android.com/reference/android/app/Fragment.html#onDetach())()`

**This function is deprecated.**
`https://developer.android.com/reference/android/view/LayoutInflater.html!` `[onGetLayoutInflater](https://developer.android.com/reference/android/app/Fragment.html#onGetLayoutInflater(android.os.Bundle))(savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onHiddenChanged](https://developer.android.com/reference/android/app/Fragment.html#onHiddenChanged(boolean))(hidden: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onInflate](https://developer.android.com/reference/android/app/Fragment.html#onInflate(android.app.Activity, android.util.AttributeSet, android.os.Bundle))(
activity: https://developer.android.com/reference/android/app/Activity.html!,
attrs: https://developer.android.com/reference/android/util/AttributeSet.html!,
savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html!
)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onLowMemory](https://developer.android.com/reference/android/app/Fragment.html#onLowMemory())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onMultiWindowModeChanged](https://developer.android.com/reference/android/app/Fragment.html#onMultiWindowModeChanged(boolean))(isInMultiWindowMode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[onOptionsItemSelected](https://developer.android.com/reference/android/app/Fragment.html#onOptionsItemSelected(android.view.MenuItem))(item: https://developer.android.com/reference/android/view/MenuItem.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onOptionsMenuClosed](https://developer.android.com/reference/android/app/Fragment.html#onOptionsMenuClosed(android.view.Menu))(menu: https://developer.android.com/reference/android/view/Menu.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onPause](https://developer.android.com/reference/android/app/Fragment.html#onPause())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onPictureInPictureModeChanged](https://developer.android.com/reference/android/app/Fragment.html#onPictureInPictureModeChanged(boolean))(isInPictureInPictureMode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onPrepareOptionsMenu](https://developer.android.com/reference/android/app/Fragment.html#onPrepareOptionsMenu(android.view.Menu))(menu: https://developer.android.com/reference/android/view/Menu.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onRequestPermissionsResult](https://developer.android.com/reference/android/app/Fragment.html#onRequestPermissionsResult(int, java.lang.String[], int[]))(
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
permissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!,
grantResults: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html>!
)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onResume](https://developer.android.com/reference/android/app/Fragment.html#onResume())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onSaveInstanceState](https://developer.android.com/reference/android/app/Fragment.html#onSaveInstanceState(android.os.Bundle))(outState: https://developer.android.com/reference/android/os/Bundle.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onStart](https://developer.android.com/reference/android/app/Fragment.html#onStart())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onTrimMemory](https://developer.android.com/reference/android/app/Fragment.html#onTrimMemory(int))(level: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onViewCreated](https://developer.android.com/reference/android/app/Fragment.html#onViewCreated(android.view.View, android.os.Bundle))(view: https://developer.android.com/reference/android/view/View.html!, savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[onViewStateRestored](https://developer.android.com/reference/android/app/Fragment.html#onViewStateRestored(android.os.Bundle))(savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[postponeEnterTransition](https://developer.android.com/reference/android/app/Fragment.html#postponeEnterTransition())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[registerForContextMenu](https://developer.android.com/reference/android/app/Fragment.html#registerForContextMenu(android.view.View))(view: https://developer.android.com/reference/android/view/View.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[requestPermissions](https://developer.android.com/reference/android/app/Fragment.html#requestPermissions(java.lang.String[], int))(permissions: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>!, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setAllowEnterTransitionOverlap](https://developer.android.com/reference/android/app/Fragment.html#setAllowEnterTransitionOverlap(boolean))(allow: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setAllowReturnTransitionOverlap](https://developer.android.com/reference/android/app/Fragment.html#setAllowReturnTransitionOverlap(boolean))(allow: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setArguments](https://developer.android.com/reference/android/app/Fragment.html#setArguments(android.os.Bundle))(args: https://developer.android.com/reference/android/os/Bundle.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setEnterSharedElementCallback](https://developer.android.com/reference/android/app/Fragment.html#setEnterSharedElementCallback(android.app.SharedElementCallback))(callback: https://developer.android.com/reference/android/app/SharedElementCallback.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setEnterTransition](https://developer.android.com/reference/android/app/Fragment.html#setEnterTransition(android.transition.Transition))(transition: https://developer.android.com/reference/android/transition/Transition.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setExitSharedElementCallback](https://developer.android.com/reference/android/app/Fragment.html#setExitSharedElementCallback(android.app.SharedElementCallback))(callback: https://developer.android.com/reference/android/app/SharedElementCallback.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setExitTransition](https://developer.android.com/reference/android/app/Fragment.html#setExitTransition(android.transition.Transition))(transition: https://developer.android.com/reference/android/transition/Transition.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setHasOptionsMenu](https://developer.android.com/reference/android/app/Fragment.html#setHasOptionsMenu(boolean))(hasMenu: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setInitialSavedState](https://developer.android.com/reference/android/app/Fragment.html#setInitialSavedState(android.app.Fragment.SavedState))(state: https://developer.android.com/reference/android/app/Fragment.SavedState.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setMenuVisibility](https://developer.android.com/reference/android/app/Fragment.html#setMenuVisibility(boolean))(menuVisible: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setReenterTransition](https://developer.android.com/reference/android/app/Fragment.html#setReenterTransition(android.transition.Transition))(transition: https://developer.android.com/reference/android/transition/Transition.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setRetainInstance](https://developer.android.com/reference/android/app/Fragment.html#setRetainInstance(boolean))(retain: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setReturnTransition](https://developer.android.com/reference/android/app/Fragment.html#setReturnTransition(android.transition.Transition))(transition: https://developer.android.com/reference/android/transition/Transition.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setSharedElementEnterTransition](https://developer.android.com/reference/android/app/Fragment.html#setSharedElementEnterTransition(android.transition.Transition))(transition: https://developer.android.com/reference/android/transition/Transition.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setSharedElementReturnTransition](https://developer.android.com/reference/android/app/Fragment.html#setSharedElementReturnTransition(android.transition.Transition))(transition: https://developer.android.com/reference/android/transition/Transition.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setTargetFragment](https://developer.android.com/reference/android/app/Fragment.html#setTargetFragment(android.app.Fragment, int))(fragment: https://developer.android.com/reference/android/app/Fragment.html!, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[setUserVisibleHint](https://developer.android.com/reference/android/app/Fragment.html#setUserVisibleHint(boolean))(isVisibleToUser: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` `[shouldShowRequestPermissionRationale](https://developer.android.com/reference/android/app/Fragment.html#shouldShowRequestPermissionRationale(java.lang.String))(permission: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startActivity](https://developer.android.com/reference/android/app/Fragment.html#startActivity(android.content.Intent))(intent: https://developer.android.com/reference/android/content/Intent.html!)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startActivityForResult](https://developer.android.com/reference/android/app/Fragment.html#startActivityForResult(android.content.Intent, int))(intent: https://developer.android.com/reference/android/content/Intent.html!, requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startIntentSenderForResult](https://developer.android.com/reference/android/app/Fragment.html#startIntentSenderForResult(android.content.IntentSender, int, android.content.Intent, int, int, int, android.os.Bundle))(
intent: https://developer.android.com/reference/android/content/IntentSender.html!,
requestCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
fillInIntent: https://developer.android.com/reference/android/content/Intent.html!,
flagsMask: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
flagsValues: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
extraFlags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html,
options: https://developer.android.com/reference/android/os/Bundle.html!
)`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[startPostponedEnterTransition](https://developer.android.com/reference/android/app/Fragment.html#startPostponedEnterTransition())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` `[toString](https://developer.android.com/reference/android/app/Fragment.html#toString())()`

**This function is deprecated.**
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `[unregisterForContextMenu](https://developer.android.com/reference/android/app/Fragment.html#unregisterForContextMenu(android.view.View))(view: https://developer.android.com/reference/android/view/View.html!)`

**This function is deprecated.**

## Public constructors

### DetailsFragment

Added in 1.1.0 Deprecated in 1.1.0

```
[DetailsFragment](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#DetailsFragment())()
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

## Public functions

### getAdapter

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [getAdapter](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#getAdapter())(): ObjectAdapter!
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Returns the list of rows.

### getOnItemViewClickedListener

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [getOnItemViewClickedListener](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#getOnItemViewClickedListener())(): BaseOnItemViewClickedListener!
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Returns the item clicked listener.

### getParallax

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [getParallax](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#getParallax())(): DetailsParallax!
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Returns the `https://developer.android.com/reference/kotlin/androidx/leanback/widget/DetailsParallax` instance used by `https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragmentBackgroundController` to configure parallax effect of background and control embedded video playback. App usually does not use this method directly. App may use this method for other custom parallax tasks.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/leanback/widget/DetailsParallax!` | The DetailsParallax instance attached to the DetailsFragment. |

### getRowsFragment

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [getRowsFragment](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#getRowsFragment())(): RowsFragment!
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Gets embedded RowsFragment showing multiple rows for DetailsFragment. If view of DetailsFragment is not created, the method returns null.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/leanback/app/RowsFragment!` | Embedded RowsFragment showing multiple rows for DetailsFragment. |

### onCreate

```
fun [onCreate](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onCreate(android.os.Bundle))(savedInstanceState: Bundle!): Unit
```

> [!CAUTION]
> **This function is deprecated.**   

### onCreateView

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [onCreateView](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onCreateView(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle))(
    inflater: LayoutInflater!,
    container: ViewGroup?,
    savedInstanceState: Bundle!
): View?
```

> [!CAUTION]
> **This function is deprecated.**   

### onDestroyView

```
fun [onDestroyView](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onDestroyView())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   

### onInflateTitleView

```
fun [onInflateTitleView](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onInflateTitleView(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle))(
    inflater: LayoutInflater,
    parent: ViewGroup?,
    savedInstanceState: Bundle?
): View
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Called by `https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#installTitleView(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle)` to inflate title view. Default implementation uses layout file lb_browse_title. Subclass may override and use its own layout, the layout must have a descendant with id browse_title_group that implements `https://developer.android.com/reference/kotlin/androidx/leanback/widget/TitleViewAdapter.Provider`. Subclass may return null if no title is needed.

| Parameters |
|---|---|
| `inflater: https://developer.android.com/reference/android/view/LayoutInflater.html` | The LayoutInflater object that can be used to inflate any views in the fragment, |
| `parent: https://developer.android.com/reference/android/view/ViewGroup.html?` | Parent of title view. |
| `savedInstanceState: https://developer.android.com/reference/android/os/Bundle.html?` | If non-null, this fragment is being re-constructed from a previous saved state as given here. |

| Returns |
|---|---|
| `https://developer.android.com/reference/android/view/View.html` | Title view which must have a descendant with id browse_title_group that implements `https://developer.android.com/reference/kotlin/androidx/leanback/widget/TitleViewAdapter.Provider`, or null for no title view. |

### onStart

```
fun [onStart](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onStart())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   

### onStop

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [onStop](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onStop())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   

### setAdapter

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [setAdapter](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setAdapter(androidx.leanback.widget.ObjectAdapter))(adapter: ObjectAdapter!): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Sets the list of rows for the fragment.

### setOnItemViewClickedListener

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [setOnItemViewClickedListener](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setOnItemViewClickedListener(androidx.leanback.widget.BaseOnItemViewClickedListener))(listener: BaseOnItemViewClickedListener!): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Sets an item clicked listener.

### setOnItemViewSelectedListener

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [setOnItemViewSelectedListener](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setOnItemViewSelectedListener(androidx.leanback.widget.BaseOnItemViewSelectedListener))(listener: BaseOnItemViewSelectedListener!): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Sets an item selection listener.

### setSelectedPosition

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [setSelectedPosition](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setSelectedPosition(int))(position: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Sets the selected row position with smooth animation.

### setSelectedPosition

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
fun [setSelectedPosition](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setSelectedPosition(int,boolean))(position: Int, smooth: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Sets the selected row position.

## Protected functions

### createEntranceTransition

```
protected fun [createEntranceTransition](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#createEntranceTransition())(): Any!
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Create entrance transition. Subclass can override to load transition from resource or construct manually. Typically app does not need to override the default transition that browse and details provides.

### inflateTitle

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
protected fun [inflateTitle](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#inflateTitle(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle))(
    inflater: LayoutInflater!,
    parent: ViewGroup!,
    savedInstanceState: Bundle!
): View!
```

> [!CAUTION]
> **This function is deprecated.**   
>
> override `https://developer.android.com/reference/kotlin/androidx/leanback/app/BrandedFragment#onInflateTitleView(android.view.LayoutInflater,android.view.ViewGroup,android.os.Bundle)` instead.

### onEntranceTransitionEnd

```
protected fun [onEntranceTransitionEnd](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onEntranceTransitionEnd())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Callback when entrance transition is ended.

### onEntranceTransitionPrepare

```
protected fun [onEntranceTransitionPrepare](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onEntranceTransitionPrepare())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Callback when entrance transition is prepared. This is when fragment should stop user input and animations.

### onEntranceTransitionStart

```
protected fun [onEntranceTransitionStart](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onEntranceTransitionStart())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Callback when entrance transition is started. This is when fragment should stop processing layout.

### onSetDetailsOverviewRowStatus

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
protected fun [onSetDetailsOverviewRowStatus](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onSetDetailsOverviewRowStatus(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter,androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder,int,int,int))(
    presenter: FullWidthDetailsOverviewRowPresenter!,
    viewHolder: FullWidthDetailsOverviewRowPresenter.ViewHolder!,
    adapterPosition: Int,
    selectedPosition: Int,
    selectedSubPosition: Int
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Called to change DetailsOverviewRow view status when current selected row position or selected sub position changed. Subclass may override. The default implementation switches between three states based on the positions: `https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter#STATE_HALF()`, `https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter#STATE_FULL()` and `https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter#STATE_SMALL()`.

| Parameters |
|---|---|
| `presenter: https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter!` | The presenter used to create row ViewHolder. |
| `viewHolder: https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter.ViewHolder!` | The visible (attached) row ViewHolder, note that it may or may not be selected. |
| `adapterPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The adapter position of viewHolder inside adapter. |
| `selectedPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The adapter position of currently selected row. |
| `selectedSubPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The sub position within currently selected row. This is used When a row has multiple alignment positions. |

### onSetRowStatus

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
protected fun [onSetRowStatus](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onSetRowStatus(androidx.leanback.widget.RowPresenter,androidx.leanback.widget.RowPresenter.ViewHolder,int,int,int))(
    presenter: RowPresenter!,
    viewHolder: RowPresenter.ViewHolder!,
    adapterPosition: Int,
    selectedPosition: Int,
    selectedSubPosition: Int
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Called on every visible row to change view status when current selected row position or selected sub position changed. Subclass may override. The default implementation calls `https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#onSetDetailsOverviewRowStatus(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter,androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder,int,int,int)` if presenter is instance of `https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter`.

| Parameters |
|---|---|
| `presenter: https://developer.android.com/reference/kotlin/androidx/leanback/widget/RowPresenter!` | The presenter used to create row ViewHolder. |
| `viewHolder: https://developer.android.com/reference/kotlin/androidx/leanback/widget/RowPresenter.ViewHolder!` | The visible (attached) row ViewHolder, note that it may or may not be selected. |
| `adapterPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The adapter position of viewHolder inside adapter. |
| `selectedPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The adapter position of currently selected row. |
| `selectedSubPosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The sub position within currently selected row. This is used When a row has multiple alignment positions. |

### runEntranceTransition

```
protected fun [runEntranceTransition](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#runEntranceTransition(java.lang.Object))(entranceTransition: Any!): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Run entrance transition. Subclass may use TransitionManager to perform go(Scene) or beginDelayedTransition(). App should not override the default implementation of browse and details fragment.

### setupDetailsOverviewRowPresenter

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
protected fun [setupDetailsOverviewRowPresenter](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setupDetailsOverviewRowPresenter(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter))(
    presenter: FullWidthDetailsOverviewRowPresenter!
): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Called to setup `https://developer.android.com/reference/kotlin/androidx/leanback/widget/FullWidthDetailsOverviewRowPresenter`. The default implementation adds two alignment positions(`https://developer.android.com/reference/kotlin/androidx/leanback/widget/ItemAlignmentFacet`) for ViewHolder of FullWidthDetailsOverviewRowPresenter to align in fragment.

### setupPresenter

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/leanback#1.1.0)

```
protected fun [setupPresenter](https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setupPresenter(androidx.leanback.widget.Presenter))(rowPresenter: Presenter!): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Called to setup each Presenter of Adapter passed in `https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setAdapter(androidx.leanback.widget.ObjectAdapter)`.Note that setup should only change the Presenter behavior that is meaningful in DetailsFragment. For example how a row is aligned in details Fragment. The default implementation invokes `https://developer.android.com/reference/kotlin/androidx/leanback/app/DetailsFragment#setupDetailsOverviewRowPresenter(androidx.leanback.widget.FullWidthDetailsOverviewRowPresenter)`