SwipeViewHolder

Constructors

Link copied to clipboard
constructor(itemView: View)

Inherited properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun getClosedX(): Float

The X position where the swipe view is considered to be closed.

Link copied to clipboard
abstract fun getOpenedX(): Float

The X position where the swipe view is considered to be opened.

Link copied to clipboard

The range which the swipe view can slide

Link copied to clipboard
abstract fun getSwipeView(): View

The view that will be swiped.

Link copied to clipboard
abstract fun isSwiped(): Boolean

If the swipe view is swiped of not. When true, swipe view is completely swiped, when false it is in the default state

Link copied to clipboard
abstract fun isSwipeEnabled(): Boolean

If swipe is enabled or disabled

Link copied to clipboard

Inherited functions

Link copied to clipboard
abstract fun bind(channelItem: ChannelListItem.ChannelItem, diff: ChannelListPayloadDiff)
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 override fun toString(): String