Floating Behavior
class FloatingBehavior(val context: Context, mode: FloatingPane.FloatingPaneMode, callBackNotifier: FloatingPaneCallbackNotifier, val viewModel: FloatingPaneViewModel, resizeTouchSize: Int) : CommonBehavior
Behavior class for the FloatingPane in floating mode.
This class handles the behavior of the FloatingPane when it's in floating mode, including:
Sizing and positioning
Animations for showing and hiding
Touch handling for moving and resizing
Minimizing and restoring
Saving and restoring state
Parameters
context
The context.
mode
The FloatingPaneMode.
call Back Notifier
The FloatingPaneCallbackNotifier.
view Model
The FloatingPaneViewModel.
resize Touch Size
The size of the touch area for resizing.
Constructors
Link copied to clipboard
constructor(context: Context, mode: FloatingPane.FloatingPaneMode, callBackNotifier: FloatingPaneCallbackNotifier, viewModel: FloatingPaneViewModel, resizeTouchSize: Int)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard