Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

WearableLinearLayoutManager

open class WearableLinearLayoutManager : LinearLayoutManager
kotlin.Any
   ↳ androidx.recyclerview.widget.RecyclerView.LayoutManager
   ↳ androidx.recyclerview.widget.LinearLayoutManager
   ↳ androidx.wear.widget.WearableLinearLayoutManager

This wear-specific implementation of LinearLayoutManager provides basic offsetting logic for updating child layout. For round devices it offsets the children horizontally to make them appear to travel around a circle. For square devices it aligns them in a straight list. This functionality is provided by the CurvingLayoutCallback which is set when constructing the this class with its default constructor WearableLinearLayoutManager(Context).

Summary

Nested classes
abstract

Callback for interacting with layout passes.

Inherited constants
Public constructors

Creates a WearableLinearLayoutManager for a vertical list.

<init>(context: Context!)

Creates a WearableLinearLayoutManager for a vertical list.

Public methods
open WearableLinearLayoutManager.LayoutCallback?

open Unit

open Int

open Unit

Set a particular instance of the layout callback for this WearableLinearLayoutManager.

Inherited functions