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.
If the tinted area appears incorrect, try using TintPainter.completeList instead.
UncoveredAreaTintPainter(color: Int, opacity: Float)
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. |
open fun drawTint(canvas: Canvas): Unit |
|
open fun onAttachRecyclerView(recyclerView: InboxRecyclerView, page: ExpandablePageLayout): Unit |
|
open fun onDetachRecyclerView(): Unit |
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 can be hard. |