abstract class TintPainter
Draws a tint on InboxRecyclerView rows while it's covered by ExpandablePageLayout.
TintPainter()
Draws a tint on InboxRecyclerView rows while it's covered by ExpandablePageLayout. |
abstract fun drawTint(canvas: Canvas): Unit |
|
abstract fun onAttachRecyclerView(recyclerView: InboxRecyclerView, page: ExpandablePageLayout): Unit |
|
abstract fun onDetachRecyclerView(): Unit |
fun completeList(color: Int = Color.BLACK, opacity: Float = 0.15F): TintPainter
|
|
fun noOp(): TintPainter |
|
fun uncoveredArea(color: Int = Color.BLACK, opacity: Float = 0.15F): TintPainter
|
open class UncoveredAreaTintPainter : TintPainter
Draws a tint on InboxRecyclerView only in the area that's not covered by its page. This allows the page content to not have another background of its own, thus reducing overdraw by a level. |