Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

LinearLayoutManager

open class LinearLayoutManager : RecyclerView.LayoutManager, ItemTouchHelper.ViewDropHandler, RecyclerView.SmoothScroller.ScrollVectorProvider
kotlin.Any
   ↳ androidx.recyclerview.widget.RecyclerView.LayoutManager
   ↳ androidx.recyclerview.widget.LinearLayoutManager

A RecyclerView.LayoutManager implementation which provides similar functionality to android.widget.ListView.

Summary

Nested classes
open

Constants
static Int

static Int

static Int

Public constructors
<init>(context: Context!)

Creates a vertical LinearLayoutManager

<init>(context: Context!, orientation: Int, reverseLayout: Boolean)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

Constructor used when layout manager is set in XML by RecyclerView attribute "layoutManager".

Public methods
open Unit

open Boolean

open Boolean

open Unit

open Unit

open Int

open Int

open Int

open PointF?

open Int

open Int

open Int

open Int

Returns the adapter position of the first fully visible view.

open Int