Gleap
Search…
🚩
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.
1
Gleap.getInstance().setFeedbackSentCallback(new FeedbackSentCallback() {
2
@Override
3
public void close() {
4
// Feedback got sent
5
}
6
});
7
​
8
Gleap.getInstance().setConfigLoadedCallback(new ConfigLoadedCallback() {
9
@Override
10
public void configLoaded(JSONObject jsonObject) {
11
// Loaded Gleap config
12
}
13
});
14
​
15
Gleap.getInstance().setFeedbackWillBeSentCallback(new FeedbackWillBeSentCallback() {
16
@Override
17
public void flowInvoced() {
18
// The feedback will be sent
19
}
20
});
Copied!
Last modified 1mo ago
Copy link