Package com.zendesk.sdk.rating.ui
Class RateMyAppButtonContainer
- java.lang.Object
-
- LinearLayout
-
- com.zendesk.sdk.rating.ui.RateMyAppButtonContainer
-
Deprecated.Rate My App is deprecated as of 1.10.0.1. See our open source alternative instead.
@Deprecated public class RateMyAppButtonContainer extends LinearLayout
Defines the layout for theRateMyAppDialog
This layout container will be generated dynamically from a list of
This class is not intended to be inflated from XML.RateMyAppButton
definitions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interface
RateMyAppButtonContainer.RateMyAppSelectionListener
Deprecated.
-
Constructor Summary
Constructors Constructor and Description RateMyAppButtonContainer(Context context, java.util.List<RateMyAppButton> buttons)
Deprecated.Creates and initialises the RateMyAppDialog UI.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description void
setDismissableListener(com.zendesk.sdk.rating.ui.RateMyAppButtonContainer.DismissableListener dismissableListener)
Deprecated.Sets a listener that can be used to receive a notification of when a button is clicked that should dismiss the parent dialog.void
setRateMyAppSelectionListener(RateMyAppButtonContainer.RateMyAppSelectionListener selectionListener)
Deprecated.Sets a listener that can used to receive notifications when a button is clicked.
-
-
-
Constructor Detail
-
RateMyAppButtonContainer
public RateMyAppButtonContainer(Context context, java.util.List<RateMyAppButton> buttons)
Deprecated.Creates and initialises the RateMyAppDialog UI.- Parameters:
context
- A UI contextbuttons
- The list of button definitions to render in the dialog
-
-
Method Detail
-
setDismissableListener
public void setDismissableListener(com.zendesk.sdk.rating.ui.RateMyAppButtonContainer.DismissableListener dismissableListener)
Deprecated.Sets a listener that can be used to receive a notification of when a button is clicked that should dismiss the parent dialog.- Parameters:
dismissableListener
- The listener in which to receive the events that informs the dialog that it should dismiss.
-
setRateMyAppSelectionListener
public void setRateMyAppSelectionListener(RateMyAppButtonContainer.RateMyAppSelectionListener selectionListener)
Deprecated.Sets a listener that can used to receive notifications when a button is clicked. This can be useful to track events and propagate them to analytics.- Parameters:
selectionListener
- The listener in which to receive events that informs the subscriber which button was clicked.
-
-