added in version 25.4.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
DetailsParallax
public
class
DetailsParallax
extends RecyclerViewParallax
java.lang.Object | |||
↳ | android.support.v17.leanback.widget.Parallax<android.support.v17.leanback.widget.RecyclerViewParallax.ChildPositionProperty> | ||
↳ | android.support.v17.leanback.widget.RecyclerViewParallax | ||
↳ | android.support.v17.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
DetailsFragmentBackgroundController
.
See also:
Summary
Public constructors | |
---|---|
DetailsParallax()
|
Public methods | |
---|---|
Parallax.IntProperty
|
getOverviewRowBottom()
Returns the bottom of the details overview row. |
Parallax.IntProperty
|
getOverviewRowTop()
Returns the top of the details overview row. |
Inherited methods | |
---|---|
![]()
android.support.v17.leanback.widget.RecyclerViewParallax
| |
![]()
android.support.v17.leanback.widget.Parallax
|