HorizontalListView

Horizontal scrollable RecyclerView

open class HorizontalListView

Constructors

HorizontalListView
Link copied to clipboard
open fun HorizontalListView(context: Context)
HorizontalListView
Link copied to clipboard
open fun HorizontalListView(context: Context, attrs: AttributeSet)
HorizontalListView
Link copied to clipboard
open fun HorizontalListView(context: Context, attrs: AttributeSet, defStyle: Int)

Functions

fling
Link copied to clipboard
open fun fling(velocityX: Int, velocityY: Int): Boolean
onLayout
Link copied to clipboard
open fun onLayout(changedCanvas: Boolean, left: Int, top: Int, right: Int, bottom: Int)
onTouchEvent
Link copied to clipboard
open fun onTouchEvent(e: MotionEvent): Boolean
scrollItemToPositionWithOffset
Link copied to clipboard
open fun scrollItemToPositionWithOffset(entity: DataSourceInterface, j: Int)
scrollItemToVisibleArea
Link copied to clipboard
open fun scrollItemToVisibleArea(entity: DataSourceInterface)
open fun scrollItemToVisibleArea(entity: DataSourceInterface, toMiddle: Boolean)
setAdapter
Link copied to clipboard

Use HorizontalListView only with DataSourceListAdapter.

open fun setAdapter(adapter: Adapter)

Set the DataSourceListAdapter.

open fun setAdapter(adapter: DataSourceListAdapter)
setAnimated
Link copied to clipboard
open fun setAnimated(animated: Boolean)
setFolderAnimator
Link copied to clipboard
open fun setFolderAnimator()
smoothScrollToPosition
Link copied to clipboard
open fun smoothScrollToPosition(position: Int)
open fun smoothScrollToPosition(position: Int, toMiddle: Boolean)

Properties

ignoredEvent
Link copied to clipboard
open val ignoredEvent: Long
linearLayoutManager
Link copied to clipboard
open val linearLayoutManager: LinearLayoutManager