Customer Feedback

See the Android integration instructions for information on how to integrate the feedback form into your Xamarin Android app. Furthermore, you can look at the sample application for implementation samples.

In brief: add an AppboyFeedbackFragment

1
AppboyFeedbackFragment feedbackFragment = new AppboyFeedbackFragment();

to your view hierarchy. The default way to handle returning from submitting a Feedback form is popping the back stack. Do this when the feed is finished by adding an IFeedbackFinishedListener to the feedbackFragment.

1
feedbackFragment.SetFeedbackFinishedListener(new FeedbackFinishedListener(Activity.SupportFragmentManager));
1
2
3
4
5
6
7
8
9
10
11
12
class FeedbackFinishedListener : Java.Lang.Object, AppboyFeedbackFragment.IFeedbackFinishedListener {
  FragmentManager mFragmentManager;

  public FeedbackFinishedListener(FragmentManager supportFragmentManager) {
    mFragmentManager = supportFragmentManager;
  }

  public void OnFeedbackFinished () {
    Console.WriteLine ("Feedback finished");
    mFragmentManager.PopBackStack ();
  }
}
WAS THIS PAGE HELPFUL?
New Stuff!