public abstract class

WearableLinearLayoutManager.LayoutCallback

extends java.lang.Object

 java.lang.Object

↳androidx.wear.widget.WearableLinearLayoutManager.LayoutCallback

Subclasses:

CurvingLayoutCallback

Overview

Callback for interacting with layout passes.

Summary

Constructors
publicLayoutCallback()

Methods
public abstract voidonLayoutFinished(View child, RecyclerView parent)

Override this method to implement custom child layout behavior on scroll.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public LayoutCallback()

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: the current child to be affected.
parent: the RecyclerView parent that this class is attached to.