SideBehavior

class SideBehavior(val context: Context, mode: FloatingPane.FloatingPaneMode, callBackNotifier: FloatingPaneCallbackNotifier, val viewModel: FloatingPaneViewModel, resizeTouchSize: Int) : CommonBehavior

Behavior class for the "Side" mode of the FloatingPane. This mode displays the pane on the side of the screen.

Constructors

Link copied to clipboard
constructor(context: Context, mode: FloatingPane.FloatingPaneMode, callBackNotifier: FloatingPaneCallbackNotifier, viewModel: FloatingPaneViewModel, resizeTouchSize: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Context for accessing resources.

Link copied to clipboard
open override var customHeight: Int?
Link copied to clipboard
open override var customMaxHeight: Int?
Link copied to clipboard
open override var customMinHeight: Int?
Link copied to clipboard
open override var customMinimizeWidth: Int?
Link copied to clipboard
open override var requestedHeight: Int
Link copied to clipboard

The FloatingPaneViewModel for managing the pane's state.

Functions

Link copied to clipboard
open override fun getBackgroundResId(): Int
Link copied to clipboard
open override fun getHideSpringAnimation(context: Context, target: View): SpringAnimation
Link copied to clipboard
open override fun getMenuLayoutResId(): Int
Link copied to clipboard
open override fun getResizePinDirectionFlags(): Int
Link copied to clipboard
open override fun getShowSpringAnimation(context: Context, target: View): SpringAnimation
Link copied to clipboard
open override fun getTargetModeBounds(view: View, moveValidArea: Boolean): Rect
Link copied to clipboard
open override fun shouldInterceptTouch(view: View, event: MotionEvent): Boolean
Link copied to clipboard
open override fun updateBehavior(parent: View)
Link copied to clipboard
open override fun updateLayoutParams(view: View)
Link copied to clipboard
open override fun updateState(view: View, event: MotionEvent)