Class RateMyAppSendFeedbackButton

  • All Implemented Interfaces:
    RateMyAppButton, java.io.Serializable

    Deprecated. 
    Rate My App is deprecated as of 1.10.0.1. See our open source alternative instead.

    @Deprecated
    public class RateMyAppSendFeedbackButton
    extends BaseRateMyAppButton
    A button definition that will open a UI for the user to enter feedback.

    This button will manage the lifecycle of a FeedbackDialog. The button will also check to see if there is a RateMyAppDialog present and if there is it will dismiss it.

    See Also:
    Serialized Form
    • Field Detail

      • FEEDBACK_DIALOG_TAG

        @Deprecated
        public static final java.lang.String FEEDBACK_DIALOG_TAG
        Deprecated. Rate My App is deprecated as of 1.10.0.1. See our open source alternative instead.
        This is the name of the tag that will be set on the FeedbackDialog that will be created by this button.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RateMyAppSendFeedbackButton

        public RateMyAppSendFeedbackButton(FragmentActivity fragmentActivity,
                                           FeedbackConnector connector)
        Deprecated. 
        Creates a button used to send feedback. This will open a FeedbackDialog
        Parameters:
        fragmentActivity - The fragment activity that this button use to launch the feedback dialog
        connector - The connector used to send the feedback to Zendesk
    • Method Detail

      • getOnClickListener

        public View.OnClickListener getOnClickListener()
        Deprecated. 
        Description copied from interface: RateMyAppButton
        Gets the click listener that will be called when the button is tapped.
        Returns:
        the android.view.View.OnClickListener that will be invoked for this button
      • getLabel

        public java.lang.String getLabel()
        Deprecated. 
        Description copied from interface: RateMyAppButton
        Gets the text label that will be applied to the button
        Returns:
        The string to be applied to the RateMyAppButton
      • shouldDismissDialog

        public boolean shouldDismissDialog()
        Deprecated. 
        Description copied from interface: RateMyAppButton
        Gets whether or not this button should dismiss the dialog after it has been clicked.

        Normally this will be false. The only reason to set this to true would be if you were manually adding a new dialog to be shown

        Specified by:
        shouldDismissDialog in interface RateMyAppButton
        Overrides:
        shouldDismissDialog in class BaseRateMyAppButton
        Returns:
        true if the parent dialog should be dismissed after the button is actioned, false otherwise.
      • setFeedbackListener

        public void setFeedbackListener(SubmissionListener feedbackListener)
        Deprecated. 
        Sets the listener that will be called when the user cancels the FeedbackDialog or uses it to send feedback.

        This listener will be passed through to the dialog that this button manages. The listener in this class is just a conduit between the feedback dialog and what is usually the parent activity.

        Parameters:
        feedbackListener - The SubmissionListener which will be notified when events occur during the submission of the feedback
      • getId

        public int getId()
        Deprecated. 
        Description copied from interface: RateMyAppButton
        Gets the id that the button view will be associated with when it is created.
        Specified by:
        getId in interface RateMyAppButton
        Overrides:
        getId in class BaseRateMyAppButton
        Returns:
        the id of the button