inboxrecyclerview / me.saket.inboxrecyclerview.dimming / CompleteListTintPainter

CompleteListTintPainter

class CompleteListTintPainter : UncoveredAreaTintPainter

Draws a tint on the entire InboxRecyclerView. Unlike UncoveredAreaTintPainter, this requires the page to have its own background, but is a safer option because it does not involve any coordinate calculations. Maths is hard.

Constructors

<init>

CompleteListTintPainter(color: Int, opacity: Float)

Draws a tint on the entire InboxRecyclerView. Unlike UncoveredAreaTintPainter, this requires the page to have its own background, but is a safer option because it does not involve any coordinate calculations. Maths is hard.

Inherited Properties

recyclerView

lateinit var recyclerView: InboxRecyclerView

tintPaint

val tintPaint: Paint

Functions

drawTint

fun drawTint(canvas: Canvas): Unit

Inherited Functions

onAttachRecyclerView

open fun onAttachRecyclerView(recyclerView: InboxRecyclerView): Unit

onDetachRecyclerView

open fun onDetachRecyclerView(recyclerView: InboxRecyclerView): Unit

onPageAboutToCollapse

open fun onPageAboutToCollapse(collapseAnimDuration: Long): Unit

onPageAboutToExpand

open fun onPageAboutToExpand(expandAnimDuration: Long): Unit

onPageCollapsed

open fun onPageCollapsed(): Unit

onPageExpanded

open fun onPageExpanded(): Unit