interface PageStateChangeCallbacks
Implement this to receive state callbacks for ExpandablePageLayout.
abstract fun onPageAboutToCollapse(collapseAnimDuration: Long): Unit |
|
abstract fun onPageAboutToExpand(expandAnimDuration: Long): Unit |
|
abstract fun onPageCollapsed(): Unit |
|
abstract fun onPageExpanded(): Unit |
abstract class SimplePageStateChangeCallbacks : PageStateChangeCallbacks
Empty implementations of PageStateChangeCallbacks. This way, any custom listener that cares only about a subset of the methods of this listener can subclass this adapter class instead of implementing the interface directly. |
|
open class UncoveredAreaTintPainter : TintPainter, PageStateChangeCallbacks
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. |