Skip to main content

🚩 Events

Use our GleapDelegate to get notified on certain state changes of the Gleap widget. This enables you to create an even deeper integration with Gleap.

Gleap.getInstance().setFeedbackSentCallback(new FeedbackSentCallback() {
@Override
public void close() {
// Feedback got sent
}
});

Gleap.getInstance().setConfigLoadedCallback(new ConfigLoadedCallback() {
@Override
public void configLoaded(JSONObject jsonObject) {
// Loaded Gleap config
}
});

Gleap.getInstance().setFeedbackWillBeSentCallback(new FeedbackWillBeSentCallback() {
@Override
public void flowInvoced() {
// The feedback will be sent
}
});