[android] Add throwable / exception in error callbacks
BeantwortetI don't understand why it is not done yet.
For example the bubble creation we have :
RainbowSdk.instance().bubbles().createBubble("Room name", "Room description", disableNotifications, new IRoomProxy.IRoomCreationListener() {
@Override
public void onCreationSuccess(Room room) {
// Do something in the thread UI
}
@Override
public void onCreationFailed() {
// Do something in the thread UI
}
});
onCreationFailed() -> Nothing ! No arg, no throwable, no exception, no clue of the issue.
I can find this structure everywhere, it makes the impl of the SDK harder.
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar