stephanenicolas / robospice

Repo of the Open Source Android library : RoboSpice. RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST requests out-of-the box using extension modules.
Apache License 2.0
2.95k stars 545 forks source link

How to listener "Cancel Request". #441

Open kekedaine opened 8 years ago

kekedaine commented 8 years ago

How to listener "Cancel Request". please!

johngamarra commented 8 years ago

Hi, please read

https://github.com/stephanenicolas/robospice/wiki/Advanced-RoboSpice-Usages-and-FAQ#how-to-cancel-a-request-

kekedaine commented 8 years ago

@johngamarra : no, i want listen cancel action when i call spiceManager.cancel(myRequest); now: when i call spiceManager.cancel(myRequest), it 's call back onRequestFailure() i want: when i call spiceManager.cancel(myRequest), it 's call back onRequestCancel() thanks you.