# WearableRecyclerView.OffsettingHelper

Summary:[Ctors](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.OffsettingHelper#pubctors)\|[Methods](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.OffsettingHelper#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.OffsettingHelper#inhmethods)  

# WearableRecyclerView.OffsettingHelper

`
public
static

abstract
class
WearableRecyclerView.OffsettingHelper
`  
`

extends `[Object](http://developer.android.com/reference/java/lang/Object.html)`


``


`

|---|---------------------------------------------------------------------|
| [java.lang.Object](http://developer.android.com/reference/java/lang/Object.html) ||
| ↳ | android.support.wearable.view.WearableRecyclerView.OffsettingHelper |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known direct subclasses [DefaultOffsettingHelper](https://developer.android.com/reference/android/support/wearable/view/DefaultOffsettingHelper.html) |-------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [DefaultOffsettingHelper](https://developer.android.com/reference/android/support/wearable/view/DefaultOffsettingHelper.html) | *This class is deprecated. use the`androidx.wear.widget.WearableRecyclerView`and associated classes provided by the[Jetpack Wear](https://developer.android.com/jetpack/androidx/releases/wear)library instead.* | |

<br />

*** ** * ** ***

<br />

**This class is deprecated.**   
use[WearableRecyclerView.ChildLayoutManager](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.ChildLayoutManager.html)instead.

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

## Summary

|                                                                      ### Public constructors                                                                       ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[OffsettingHelper](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.OffsettingHelper.html#OffsettingHelper())`() ` |

|                                                                                                                                                                                                                                                                 ### Public methods                                                                                                                                                                                                                                                                  ||
|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract void` | ` `[updateChild](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.OffsettingHelper.html#updateChild(android.view.View,%20android.support.wearable.view.WearableRecyclerView))`(`[View](http://developer.android.com/reference/android/view/View.html)` child, `[WearableRecyclerView](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.html)` parent) ` Override this method if you wish to implement custom child layout behavior on scroll. |

| ### Inherited methods |
|-----------------------|---|
| From class` `[java.lang.Object](http://developer.android.com/reference/java/lang/Object.html)` ` |------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------| | ` `[Object](http://developer.android.com/reference/java/lang/Object.html)          | ` clone() `                                                                               | | ` boolean`                                                                         | ` equals(`[Object](http://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` void`                                                                            | ` finalize() `                                                                            | | ` final `[Class](http://developer.android.com/reference/java/lang/Class.html)`<?>` | ` getClass() `                                                                            | | ` int`                                                                             | ` hashCode() `                                                                            | | ` final void`                                                                      | ` notify() `                                                                              | | ` final void`                                                                      | ` notifyAll() `                                                                           | | ` `[String](http://developer.android.com/reference/java/lang/String.html)          | ` toString() `                                                                            | | ` final void`                                                                      | ` wait(long arg0, int arg1) `                                                             | | ` final void`                                                                      | ` wait(long arg0) `                                                                       | | ` final void`                                                                      | ` wait() `                                                                                | ||

## Public constructors

### OffsettingHelper

```
public OffsettingHelper ()
```

<br />

<br />

## Public methods

### updateChild

```
public abstract void updateChild (View child, 
                WearableRecyclerView parent)
```

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

<br />

|                                                                                                 Parameters                                                                                                 ||
|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `child`  | `View`: the current child to be affected. <br />                                                                                                                                                 |
| `parent` | `WearableRecyclerView`: the[WearableRecyclerView](https://developer.android.com/reference/android/support/wearable/view/WearableRecyclerView.html)parent that this helper is attached to. <br /> |