Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

DetailsParallax

open class DetailsParallax : RecyclerViewParallax
kotlin.Any
   ↳ androidx.leanback.widget.Parallax<androidx.leanback.widget.RecyclerViewParallax.ChildPositionProperty>
   ↳ androidx.leanback.widget.RecyclerViewParallax
   ↳ androidx.leanback.widget.DetailsParallax

Subclass of Parallax object that tracks overview row's top and bottom edge in DetailsFragment or DetailsSupportFragment.

It can be used for both creating cover image parallax effect and controlling video playing when transitioning to/from half/full screen. A direct use case is androidx.leanback.app.DetailsFragmentBackgroundController.

Summary

Public constructors

Public methods
open Parallax.IntProperty!

Returns the bottom of the details overview row.

open Parallax.IntProperty!

Returns the top of the details overview row.

Inherited functions

Public constructors

<init>

DetailsParallax()

Public methods

getOverviewRowBottom

open fun getOverviewRowBottom(): Parallax.IntProperty!

Returns the bottom of the details overview row. This is tracked for implementing the parallax effect.

getOverviewRowTop

open fun getOverviewRowTop(): Parallax.IntProperty!

Returns the top of the details overview row. This is tracked for implementing the parallax effect.