WearableLinearLayoutManager.LayoutCallback
public
static
abstract
class
WearableLinearLayoutManager.LayoutCallback
extends Object
java.lang.Object
|
↳ |
androidx.wear.widget.WearableLinearLayoutManager.LayoutCallback
|
Callback for interacting with layout passes.
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
LayoutCallback
public LayoutCallback ()
Public methods
public abstract void onLayoutFinished (View child,
RecyclerView parent)
Override this method to implement custom child layout behavior on scroll. It is called
at the end of each layout pass of the view (including scrolling) and enables you to
modify any property of the child view. Examples include scaling the children based on
their distance from the center of the parent, or changing the translation of the children
to create an illusion of the path they are moving along.
Parameters |
child |
View : the current child to be affected. |
parent |
RecyclerView : the RecyclerView parent that this class is attached to.
|