com.usebutton.sdk.ButtonDropin.Listener |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method will be called whenever the user taps the Button (Preview) and invokes the
card or action attached to it when used in conjunction with
setListener(Listener) . | |||||||||||
This method will be called whenever the user taps the Button (Preview) and invokes the
card or action attached to it when used in conjunction with setListener(Listener)
.
Will never be called when used in prepareForDisplay(ButtonContext, Listener)
.
dropin | the instance of ButtonDropin that was tapped. |
---|
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)
|
---|