public static interface

ButtonDropin.Listener

com.usebutton.sdk.ButtonDropin.Listener

Summary

Public Methods
abstract void onPrepared(boolean willDisplay)

Public Methods

public abstract void onPrepared (boolean willDisplay)

Parameters
willDisplay will be called whenever a button is ready for display, with or without a promotion. willDisplay = true means that a button will be rendered. You can use this to e.g. show/hide UI components. This can be used per prepare call @see ButtonDropin#prepareForDisplay (PlacementContext,Listener) or for the view itself: @see ButtonDropin#setListener(Listener)