inboxrecyclerview / me.saket.inboxrecyclerview / PullCollapsibleActivity

PullCollapsibleActivity

abstract class PullCollapsibleActivity : AppCompatActivity

An Activity that can be dismissed by pulling it vertically. Requires these these properties to be present in the Activity theme:

true @null

Constructors

<init>

PullCollapsibleActivity()

An Activity that can be dismissed by pulling it vertically. Requires these these properties to be present in the Activity theme:

Functions

expandFrom

fun expandFrom(fromRect: Rect): Unit

expandFromTop

fun expandFromTop(): Unit

finish

open fun finish(): Unit

onCreate

open fun onCreate(savedInstanceState: Bundle?): Unit

onOptionsItemSelected

open fun onOptionsItemSelected(item: MenuItem): Boolean

onStart

open fun onStart(): Unit

setContentView

open fun setContentView(layoutResID: Int): Unit
open fun setContentView(view: View): Unit
open fun setContentView(view: View, params: LayoutParams): Unit

setEntryAnimationEnabled

fun setEntryAnimationEnabled(entryAnimationEnabled: Boolean): Unit

setPullToCollapseEnabled

fun setPullToCollapseEnabled(enabled: Boolean): Unit

Defaults to true. When disabled, this behaves like a normal Activity with no expandable page animations. Should be called before onCreate().