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 prepareForDisplay(ButtonContext, Listener) or for the view itself: setListener(Listener)