public abstract class

DismissibleFrameLayout.Callback

extends java.lang.Object

 java.lang.Object

↳androidx.wear.widget.DismissibleFrameLayout.Callback

Overview

Implement this callback to act on particular stage of the dismissal.

Summary

Constructors
publicCallback()

Methods
public voidonDismissCanceled(DismissibleFrameLayout layout)

Notifies listeners the dismissal is canceled.

public voidonDismissFinished(DismissibleFrameLayout layout)

Notifies listeners the dismissal is complete and the view now off screen.

public voidonDismissStarted(DismissibleFrameLayout layout)

Notifies listeners the dismissal is started.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Callback()

Methods

public void onDismissStarted(DismissibleFrameLayout layout)

Notifies listeners the dismissal is started.

Parameters:

layout: The layout associated with this callback.

public void onDismissCanceled(DismissibleFrameLayout layout)

Notifies listeners the dismissal is canceled. Note, only valid on swipe-to-dismiss gesture. Dismissal triggered by back button press can not be canceled.

Parameters:

layout: The layout associated with this callback.

public void onDismissFinished(DismissibleFrameLayout layout)

Notifies listeners the dismissal is complete and the view now off screen.

Parameters:

layout: The layout associated with this callback.