Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

WearableRecyclerView.OffsettingHelper

public static abstract class WearableRecyclerView.OffsettingHelper
extends Object

java.lang.Object
   ↳ android.support.wearable.view.WearableRecyclerView.OffsettingHelper
Known Direct Subclasses


This class is deprecated.
use WearableRecyclerView.ChildLayoutManager instead.

This class defines the offsetting logic for updating layout of children in a WearableRecyclerView.

Summary

Public constructors

WearableRecyclerView.OffsettingHelper()

Public methods

abstract void updateChild(View child, WearableRecyclerView parent)

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

Inherited methods

From class java.lang.Object

Public constructors

WearableRecyclerView.OffsettingHelper

WearableRecyclerView.OffsettingHelper ()

Public methods

updateChild

void updateChild (View child, 
                WearableRecyclerView parent)

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

Parameters
child View: the current child to be affected.

parent WearableRecyclerView: the WearableRecyclerView parent that this helper is attached to.