MaterialMainContainerBackHelper

Utility class for main container views usually filling the entire screen (e.g., search view) that support back progress animations.

Constructors

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

Properties

Functions

Link copied to clipboard
open fun cancelBackProgress(@Nullable collapsedView: View)
Link copied to clipboard
open fun finishBackProgress(duration: Long, @Nullable collapsedView: View)
Link copied to clipboard
Link copied to clipboard
open fun startBackProgress(@NonNull backEvent: BackEventCompat, @Nullable collapsedView: View)
open fun startBackProgress(touchY: Float, @Nullable collapsedView: View)
Link copied to clipboard
open fun updateBackProgress(@NonNull backEvent: BackEventCompat, @Nullable collapsedView: View, collapsedCornerSize: Float)
open fun updateBackProgress(progress: Float, leftSwipeEdge: Boolean, touchY: Float, collapsedCornerSize: Float)