public static interface

BannerDismissLayout.Listener

com.urbanairship.iam.banner.BannerDismissLayout.Listener
Known Indirect Subclasses

Class Overview

Interface to listen for dismissing the message view.

Summary

Public Methods
abstract void onDismissed(View view)
Called when a child view was dismissed from a swipe.
abstract void onDragStateChanged(View view, int state)
Called when a child view's drag state changes.

Public Methods

public abstract void onDismissed (View view)

Called when a child view was dismissed from a swipe. It is up to the listener to remove or hide the view from the parent.

public abstract void onDragStateChanged (View view, int state)

Called when a child view's drag state changes.

Parameters
state The drag state will be either ViewDragHelper.STATE_IDLE, ViewDragHelper.STATE_DRAGGING, or ViewDragHelper.STATE_SETTLING.