inboxrecyclerview / me.saket.inboxrecyclerview.page

Package me.saket.inboxrecyclerview.page

Types

BaseExpandablePageLayout

abstract class BaseExpandablePageLayout : RelativeLayout

Animating change in dimensions by changing the actual width and height is expensive. This layout animates change in dimensions by clipping visible bounds instead.

ExpandablePageLayout

open class ExpandablePageLayout : BaseExpandablePageLayout, OnPullListener

An expandable / collapsible layout for use with a InboxRecyclerView.

InterceptResult

enum class InterceptResult

PageStateChangeCallbacks

interface PageStateChangeCallbacks

Implement this to receive state callbacks for ExpandablePageLayout.

PullToCollapseListener

class PullToCollapseListener : OnTouchListener

SimpleOnPullListener

abstract class SimpleOnPullListener : OnPullListener

Empty implementations of PullToCollapseListener.OnPullListener. 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.

SimplePageStateChangeCallbacks

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.

StandaloneExpandablePageLayout

class StandaloneExpandablePageLayout : ExpandablePageLayout

Standalone because this page can live without an InboxRecyclerView.

Type Aliases

OnPullToCollapseInterceptor

typealias OnPullToCollapseInterceptor = (downX: Float, downY: Float, upwardPull: Boolean) -> InterceptResult

Called once every time a vertical scroll gesture is registered on ExpandablePageLayout. When intercepted, all touch events until the finger is lifted will be ignored. This is useful when nested (vertically) scrollable layouts are also present inside the page.

Properties

IGNORE_ALL_PULL_TO_COLLAPSE_INTERCEPTOR

val IGNORE_ALL_PULL_TO_COLLAPSE_INTERCEPTOR: OnPullToCollapseInterceptor