MaterialSideContainerBackHelper

Utility class for side container views on the left or right edge of the screen (e.g., side sheet, nav drawer, etc.) that support back progress animations.

Constructors

Link copied to clipboard
constructor(@NonNull view: View)

Functions

Link copied to clipboard
Link copied to clipboard
open fun finishBackProgress(@NonNull backEvent: BackEventCompat, @GravityInt gravity: Int, @Nullable animatorListener: Animator.AnimatorListener, @Nullable finishAnimatorUpdateListener: ValueAnimator.AnimatorUpdateListener)
Link copied to clipboard
Link copied to clipboard
open fun updateBackProgress(@NonNull backEvent: BackEventCompat, @GravityInt gravity: Int)
open fun updateBackProgress(progress: Float, leftSwipeEdge: Boolean, @GravityInt gravity: Int)