onSuccess

abstract fun onSuccess(request: RestRequest, response: RestResponse)

NB: onSuccess runs on a network thread If you are making your call from an activity and need to make UI changes make sure to first consume the response and then call runOnUiThread result.consumeQuietly(); // consume before going back to main thread runOnUiThread(new Runnable() {

Parameters

request
response