TtListRecyclerView

open class TtListRecyclerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.tt_listrecyclerview_style) : RecyclerView

A reusable RecyclerView control that displays view items as a list.

The content is populated by the derived ListItemViewModels and can be set by providing either of:

This control provides an optional sticky header. The sticky header is a header view which is always shown on the top of the RecyclerView and doesn't disappear. It shows the content of the appropriate header while scrolling.

All theme attributes used by this control are declared in com.tomtom.tools.android.core.theme. To use this control, it is mandatory to define these attribute values.

Parameters

context

The display context.

attrs

The attribute set provided in the layout XML file.

defStyleAttr

The default style attribute set.

Constructors

Link copied to clipboard
fun TtListRecyclerView(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.tt_listrecyclerview_style)

Properties

Link copied to clipboard

The LifecycleOwner of the RecyclerView. Since the content of a RecyclerView can be updated through LiveData, it is required to have a LifecycleOwner in order to observe the content data changes.

Link copied to clipboard
var stickyHeader: Boolean = false

Shows the sticky header when set to true. The default value is false. The sticky header is a header view which is always shown on the top of the RecyclerView and doesn't disappear. It shows the content of the appropriate header while scrolling.

Link copied to clipboard

The creator of the views of type ListItemViewModel.ListItemType.CONTENT. Can be used to customize the appearance of the views.

Link copied to clipboard

The creator of the views of type ListItemViewModel.ListItemType.HEADER. Can be used to customize the appearance of the views.

Functions

Link copied to clipboard
open override fun onDraw(canvas: Canvas)

Inherited functions

Link copied to clipboard
Link copied to clipboard
open fun addFocusables(p0: ArrayList<View>, p1: Int)
open override fun addFocusables(p0: ArrayList<View>, p1: Int, p2: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun addTouchables(p0: ArrayList<View>)
Link copied to clipboard
open fun addView(p0: View)
open override fun addView(p0: View, p1: ViewGroup.LayoutParams)
open fun addView(p0: View, p1: Int)
open fun addView(p0: View, p1: Int, p2: ViewGroup.LayoutParams)
open fun addView(p0: View, p1: Int, p2: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun bringChildToFront(p0: View)
Link copied to clipboard
open fun bringToFront()
Link copied to clipboard
Link copied to clipboard
open fun buildLayer()
Link copied to clipboard
open fun callOnClick(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun cancelLongPress()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun childDrawableStateChanged(p0: View)
Link copied to clipboard
open override fun childHasTransientStateChanged(p0: View, p1: Boolean)
Link copied to clipboard
open fun clearAnimation()
Link copied to clipboard
open override fun clearChildFocus(p0: View)
Link copied to clipboard
Link copied to clipboard
open override fun clearFocus()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun computeHorizontalScrollExtent(): Int
Link copied to clipboard
open override fun computeHorizontalScrollOffset(): Int
Link copied to clipboard
open override fun computeHorizontalScrollRange(): Int
Link copied to clipboard
open fun computeScroll()
Link copied to clipboard
open override fun computeVerticalScrollExtent(): Int
Link copied to clipboard
open override fun computeVerticalScrollOffset(): Int
Link copied to clipboard
open override fun computeVerticalScrollRange(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun dispatchDisplayHint(p0: Int)
Link copied to clipboard
open override fun dispatchDragEvent(p0: DragEvent): Boolean
Link copied to clipboard
open override fun dispatchDrawableHotspotChanged(p0: Float, p1: Float)
Link copied to clipboard
open override fun dispatchFinishTemporaryDetach()
Link copied to clipboard
open override fun dispatchKeyEvent(p0: KeyEvent): Boolean
Link copied to clipboard
open override fun dispatchKeyEventPreIme(p0: KeyEvent): Boolean
Link copied to clipboard
open override fun dispatchKeyShortcutEvent(p0: KeyEvent): Boolean
Link copied to clipboard
open override fun dispatchNestedFling(p0: Float, p1: Float, p2: Boolean): Boolean
Link copied to clipboard
open override fun dispatchNestedPreFling(p0: Float, p1: Float): Boolean
Link copied to clipboard
open override fun dispatchNestedPreScroll(p0: Int, p1: Int, p2: IntArray?, p3: IntArray?): Boolean
open override fun dispatchNestedPreScroll(p0: Int, p1: Int, p2: IntArray?, p3: IntArray?, p4: Int): Boolean
Link copied to clipboard
open override fun dispatchNestedScroll(p0: Int, p1: Int, p2: Int, p3: Int, p4: IntArray?): Boolean
open override fun dispatchNestedScroll(p0: Int, p1: Int, p2: Int, p3: Int, p4: IntArray?, p5: Int): Boolean
override fun dispatchNestedScroll(p0: Int, p1: Int, p2: Int, p3: Int, p4: IntArray?, p5: Int, @NonNull p6: IntArray)
Link copied to clipboard
open override fun dispatchPointerCaptureChanged(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun dispatchSetActivated(p0: Boolean)
Link copied to clipboard
open override fun dispatchSetSelected(p0: Boolean)
Link copied to clipboard
open override fun dispatchStartTemporaryDetach()
Link copied to clipboard
open override fun dispatchSystemUiVisibilityChanged(p0: Int)
Link copied to clipboard
open override fun dispatchTouchEvent(p0: MotionEvent): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun dispatchUnhandledMove(p0: View, p1: Int): Boolean
Link copied to clipboard
open override fun dispatchWindowFocusChanged(p0: Boolean)
Link copied to clipboard
open override fun dispatchWindowVisibilityChanged(p0: Int)
Link copied to clipboard
open override fun draw(p0: Canvas)
Link copied to clipboard
Link copied to clipboard
open override fun drawChild(p0: Canvas, p1: View, p2: Long): Boolean
Link copied to clipboard
open fun endViewTransition(p0: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun findFocus(): View
Link copied to clipboard
fun <T : View> findViewById(p0: Int): T
Link copied to clipboard
open override fun findViewsWithText(p0: ArrayList<View>, p1: CharSequence, p2: Int)
Link copied to clipboard
fun <T : View> findViewWithTag(p0: Any): T
Link copied to clipboard
open fun fling(p0: Int, p1: Int): Boolean
Link copied to clipboard
open override fun focusableViewAvailable(p0: View)
Link copied to clipboard
open fun focusSearch(p0: Int): View
open override fun focusSearch(p0: View, p1: Int): View
Link copied to clipboard
Link copied to clipboard
open fun forceLayout()
Link copied to clipboard
open override fun gatherTransparentRegion(p0: Region?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAlpha(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getAutofillType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getBaseline(): Int
Link copied to clipboard
fun getBottom(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getChildAt(p0: Int): View
Link copied to clipboard
open fun getChildCount(): Int
Link copied to clipboard
Link copied to clipboard
open fun getChildItemId(@NonNull p0: View): Long
Link copied to clipboard
Link copied to clipboard
open fun getChildPosition(@NonNull p0: View): Int
Link copied to clipboard
Link copied to clipboard
open override fun getChildVisibleRect(p0: View, p1: Rect, p2: Point): Boolean
Link copied to clipboard
open fun getClipBounds(): Rect
open fun getClipBounds(p0: Rect): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getClipToPadding(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDisplay(): Display
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDrawingRect(p0: Rect)
Link copied to clipboard
open fun getDrawingTime(): Long
Link copied to clipboard
open fun getElevation(): Float
Link copied to clipboard
open fun getExplicitStyle(): Int
Link copied to clipboard
Link copied to clipboard
open fun getFocusable(): Int
Link copied to clipboard
Link copied to clipboard
open fun getFocusedChild(): View
Link copied to clipboard
open fun getFocusedRect(p0: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getHandler(): Handler
Link copied to clipboard
fun getHeight(): Int
Link copied to clipboard
open fun getHitRect(p0: Rect)
Link copied to clipboard
Link copied to clipboard
open fun getId(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLabelFor(): Int
Link copied to clipboard
open fun getLayerType(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLayoutMode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getLeft(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMatrix(): Matrix
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getNextFocusUpId(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getOverlay(): ViewGroupOverlay
Link copied to clipboard
Link copied to clipboard
open fun getPaddingBottom(): Int
Link copied to clipboard
open fun getPaddingEnd(): Int
Link copied to clipboard
open fun getPaddingLeft(): Int
Link copied to clipboard
open fun getPaddingRight(): Int
Link copied to clipboard
open fun getPaddingStart(): Int
Link copied to clipboard
open fun getPaddingTop(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getPivotX(): Float
Link copied to clipboard
open fun getPivotY(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getRight(): Int
Link copied to clipboard
open fun getRootView(): View
Link copied to clipboard
Link copied to clipboard
open fun getRotation(): Float
Link copied to clipboard
open fun getRotationX(): Float
Link copied to clipboard
open fun getRotationY(): Float
Link copied to clipboard
open fun getScaleX(): Float
Link copied to clipboard
open fun getScaleY(): Float
Link copied to clipboard
Link copied to clipboard
open fun getScrollBarSize(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getScrollState(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSolidColor(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getTag(): Any
open fun getTag(p0: Int): Any
Link copied to clipboard
open fun getTextAlignment(): Int
Link copied to clipboard
open fun getTextDirection(): Int
Link copied to clipboard
Link copied to clipboard
fun getTop(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getVisibility(): Int
Link copied to clipboard
fun getWidth(): Int
Link copied to clipboard
open fun getWindowId(): WindowId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getX(): Float
Link copied to clipboard
open fun getY(): Float
Link copied to clipboard
open fun getZ(): Float
Link copied to clipboard
Link copied to clipboard
open fun hasFixedSize(): Boolean
Link copied to clipboard
open override fun hasFocus(): Boolean
Link copied to clipboard
open fun hasFocusable(): Boolean
Link copied to clipboard
open override fun hasNestedScrollingParent(): Boolean
open override fun hasNestedScrollingParent(p0: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun hasTransientState(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun indexOfChild(p0: View): Int
Link copied to clipboard
open fun invalidate()
open fun invalidate(p0: Rect)
open fun invalidate(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
override fun invalidateChild(p0: View, p1: Rect)
Link copied to clipboard
open override fun invalidateChildInParent(p0: IntArray, p1: Rect): ViewParent
Link copied to clipboard
open override fun invalidateDrawable(p0: Drawable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isActivated(): Boolean
Link copied to clipboard
open fun isAnimating(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun isAttachedToWindow(): Boolean
Link copied to clipboard
open fun isClickable(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isDirty(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isEnabled(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isFocused(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isHovered(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isInEditMode(): Boolean
Link copied to clipboard
open fun isInLayout(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isLaidOut(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun isLayoutSuppressed(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun isNestedScrollingEnabled(): Boolean
Link copied to clipboard
open fun isOpaque(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isPivotSet(): Boolean
Link copied to clipboard
open fun isPressed(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isSelected(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isShown(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun jumpDrawablesToCurrentState()
Link copied to clipboard
Link copied to clipboard
override fun layout(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
fun measure(p0: Int, p1: Int)
Link copied to clipboard
open fun nestedScrollBy(p0: Int, p1: Int)
Link copied to clipboard
open override fun notifySubtreeAccessibilityStateChanged(p0: View, p1: View, p2: Int)
Link copied to clipboard
Link copied to clipboard
open fun offsetChildrenVertical(@Px p0: Int)
Link copied to clipboard
open fun offsetLeftAndRight(p0: Int)
Link copied to clipboard
open fun offsetTopAndBottom(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onDescendantInvalidated(p0: View, p1: View)
Link copied to clipboard
Link copied to clipboard
open fun onDrawForeground(p0: Canvas)
Link copied to clipboard
Link copied to clipboard
open override fun onGenericMotionEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open fun onHoverChanged(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onInterceptTouchEvent(p0: MotionEvent): Boolean
Link copied to clipboard
open override fun onKeyDown(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyLongPress(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyMultiple(p0: Int, p1: Int, p2: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyPreIme(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyShortcut(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onKeyUp(p0: Int, p1: KeyEvent): Boolean
Link copied to clipboard
open override fun onNestedFling(p0: View, p1: Float, p2: Float, p3: Boolean): Boolean
Link copied to clipboard
open override fun onNestedPreFling(p0: View, p1: Float, p2: Float): Boolean
Link copied to clipboard
open override fun onNestedPrePerformAccessibilityAction(p0: View, p1: Int, p2: Bundle): Boolean
Link copied to clipboard
open override fun onNestedPreScroll(p0: View, p1: Int, p2: Int, p3: IntArray)
Link copied to clipboard
open override fun onNestedScroll(p0: View, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open override fun onNestedScrollAccepted(p0: View, p1: View, p2: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onResolvePointerIcon(p0: MotionEvent, p1: Int): PointerIcon
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onScrolled(@Px p0: Int, @Px p1: Int)
Link copied to clipboard
Link copied to clipboard
open override fun onStartNestedScroll(p0: View, p1: View, p2: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun onStopNestedScroll(p0: View)
Link copied to clipboard
open override fun onTouchEvent(p0: MotionEvent): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onViewAdded(p0: View)
Link copied to clipboard
open fun onViewRemoved(p0: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun performClick(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun playSoundEffect(p0: Int)
Link copied to clipboard
open fun post(p0: Runnable): Boolean
Link copied to clipboard
open fun postDelayed(p0: Runnable, p1: Long): Boolean
Link copied to clipboard
open fun postInvalidate()
open fun postInvalidate(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun postInvalidateDelayed(p0: Long, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open fun postInvalidateOnAnimation(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun recomputeViewAttributes(p0: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeAllViews()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun removeView(p0: View)
Link copied to clipboard
open fun removeViewAt(p0: Int)
Link copied to clipboard
open fun removeViewInLayout(p0: View)
Link copied to clipboard
open fun removeViews(p0: Int, p1: Int)
Link copied to clipboard
open fun removeViewsInLayout(p0: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
open override fun requestChildFocus(p0: View, p1: View)
Link copied to clipboard
open override fun requestChildRectangleOnScreen(p0: View, p1: Rect, p2: Boolean): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun requestFocus(p0: Int, p1: Rect): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun requestLayout()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun requestTransparentRegion(p0: View)
Link copied to clipboard
fun <T : View> requireViewById(p0: Int): T
Link copied to clipboard
open fun resetPivot()
Link copied to clipboard
open override fun restoreDefaultFocus(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun scheduleDrawable(p0: Drawable, p1: Runnable, p2: Long)
Link copied to clipboard
Link copied to clipboard
open override fun scrollBy(p0: Int, p1: Int)
Link copied to clipboard
open override fun scrollTo(p0: Int, p1: Int)
Link copied to clipboard
open fun scrollToPosition(p0: Int)
Link copied to clipboard
open override fun sendAccessibilityEvent(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setActivated(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setAlpha(p0: Float)
Link copied to clipboard
open fun setAnimation(p0: Animation)
Link copied to clipboard
Link copied to clipboard
open fun setAnimationMatrix(p0: Matrix?)
Link copied to clipboard
open fun setAutofillHints(vararg p0: String)
Link copied to clipboard
open fun setAutofillId(p0: AutofillId?)
Link copied to clipboard
open fun setBackground(p0: Drawable)
Link copied to clipboard
open fun setBackgroundColor(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setBottom(p0: Int)
Link copied to clipboard
open fun setCameraDistance(p0: Float)
Link copied to clipboard
open fun setClickable(p0: Boolean)
Link copied to clipboard
open fun setClipBounds(p0: Rect)
Link copied to clipboard
open fun setClipChildren(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open override fun setClipToPadding(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setElevation(p0: Float)
Link copied to clipboard
open fun setEnabled(p0: Boolean)
Link copied to clipboard
open fun setFadingEdgeLength(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setFocusable(p0: Boolean)
open fun setFocusable(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setForeground(p0: Drawable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setHasFixedSize(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setHovered(p0: Boolean)
Link copied to clipboard
open fun setId(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setKeepScreenOn(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setLabelFor(p0: Int)
Link copied to clipboard
open fun setLayerPaint(p0: Paint?)
Link copied to clipboard
open fun setLayerType(p0: Int, p1: Paint?)
Link copied to clipboard
Link copied to clipboard
open fun setLayoutDirection(p0: Int)
Link copied to clipboard
open fun setLayoutFrozen(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setLayoutMode(p0: Int)
Link copied to clipboard
Link copied to clipboard
open override fun setLayoutTransition(p0: LayoutTransition)
Link copied to clipboard
fun setLeft(p0: Int)
Link copied to clipboard
fun setLeftTopRightBottom(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
open fun setMinimumHeight(p0: Int)
Link copied to clipboard
open fun setMinimumWidth(p0: Int)
Link copied to clipboard
open override fun setNestedScrollingEnabled(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setNextFocusDownId(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setNextFocusLeftId(p0: Int)
Link copied to clipboard
open fun setNextFocusRightId(p0: Int)
Link copied to clipboard
open fun setNextFocusUpId(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setOverScrollMode(p0: Int)
Link copied to clipboard
open fun setPadding(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun setPaddingRelative(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
open fun setPivotX(p0: Float)
Link copied to clipboard
open fun setPivotY(p0: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setPressed(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setRight(p0: Int)
Link copied to clipboard
open fun setRotation(p0: Float)
Link copied to clipboard
open fun setRotationX(p0: Float)
Link copied to clipboard
open fun setRotationY(p0: Float)
Link copied to clipboard
open fun setSaveEnabled(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setScaleX(p0: Float)
Link copied to clipboard
open fun setScaleY(p0: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScrollBarSize(p0: Int)
Link copied to clipboard
open fun setScrollBarStyle(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setScrollIndicators(p0: Int)
open fun setScrollIndicators(p0: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
open fun setScrollX(p0: Int)
Link copied to clipboard
open fun setScrollY(p0: Int)
Link copied to clipboard
open fun setSelected(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTag(p0: Any)
open fun setTag(p0: Int, p1: Any)
Link copied to clipboard
open fun setTextAlignment(p0: Int)
Link copied to clipboard
open fun setTextDirection(p0: Int)
Link copied to clipboard
Link copied to clipboard
fun setTop(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTranslationX(p0: Float)
Link copied to clipboard
open fun setTranslationY(p0: Float)
Link copied to clipboard
open fun setTranslationZ(p0: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setVisibility(p0: Int)
Link copied to clipboard
Link copied to clipboard
open fun setWillNotDraw(p0: Boolean)
Link copied to clipboard
open fun setX(p0: Float)
Link copied to clipboard
open fun setY(p0: Float)
Link copied to clipboard
open fun setZ(p0: Float)
Link copied to clipboard
open fun showContextMenu(p0: Float, p1: Float): Boolean
Link copied to clipboard
open override fun showContextMenuForChild(p0: View): Boolean
open override fun showContextMenuForChild(p0: View, p1: Float, p2: Float): Boolean
Link copied to clipboard
open fun smoothScrollBy(@Px p0: Int, @Px p1: Int)
open fun smoothScrollBy(@Px p0: Int, @Px p1: Int, @Nullable p2: Interpolator?)
open fun smoothScrollBy(@Px p0: Int, @Px p1: Int, @Nullable p2: Interpolator?, p3: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun startNestedScroll(p0: Int): Boolean
open override fun startNestedScroll(p0: Int, p1: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun stopNestedScroll()
open override fun stopNestedScroll(p0: Int)
Link copied to clipboard
open fun stopScroll()
Link copied to clipboard
override fun suppressLayout(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun unscheduleDrawable(p0: Drawable, p1: Runnable)
Link copied to clipboard
Link copied to clipboard
open override fun updateViewLayout(p0: View, p1: ViewGroup.LayoutParams)
Link copied to clipboard
Link copied to clipboard
open fun willNotDraw(): Boolean

Extensions

Link copied to clipboard

Provides ListItemViewModels to populate items in TtListRecyclerView. When all ViewModels are known in advance and won't change dynamically, put them in a List and set it using this method. If ViewModels are loaded dynamically, e.g. from local storage or over network, use the PagingData version of this method instead.

Link copied to clipboard

Used to provide the view with paging information to populate the TtListRecyclerView. This paging information consists of ListItemViewModels representing the actual items in TtListRecyclerViews.