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.
BaseExpandablePageLayout(context: Context, attrs: AttributeSet? = null)
Animating change in dimensions by changing the actual width and height is expensive. This layout animates change in dimensions by clipping visible bounds instead. |
var animationDurationMillis: Long |
|
var animationInterpolator: TimeInterpolator |
fun animateDimensions(toWidth: Int, toHeight: Int): Unit |
|
open fun onDetachedFromWindow(): Unit |
|
fun resetClipping(): Unit
Immediately reset the clipping so that this layout is fully visible. |
|
fun setClippedDimensions(newClippedWidth: Int, newClippedHeight: Int): Unit |
fun View.executeOnMeasure(listener: () -> Unit): Unit
Execute a runnable when a view's dimensions get measured and is laid out on the screen. |
|
fun View.executeOnNextLayout(listener: () -> Unit): Unit
Execute a runnable when the next global layout happens for a |
|
fun View.globalVisibleRect(): RectF |
|
fun View.locationOnScreen(loc: IntArray): Rect |
open class ExpandablePageLayout : BaseExpandablePageLayout, PullToCollapseListener.OnPullListener
An expandable / collapsible layout for use with a InboxRecyclerView. |