You’d usually have ``` Call<MyAppResponse> c...
# android
e
You’d usually have
Copy code
Call<MyAppResponse> call = api.doStuff();
dialog.setCancelListener(() -> call.cancel()) // Or some other cancellation logic like keeping a list of running calls that are canceled in onDestroy
call.enqueue(new Callback() { ... })