strongloop-community / loopback-sdk-android

Android Client SDK for the LoopBack framework.
Other
67 stars 45 forks source link

how to cancel request from RestAdapter? #94

Open farlynd opened 8 years ago

farlynd commented 8 years ago

Hi, i want to create auto suggest to my loopback service, the behaviour is every afterTextChanged the request fired, but if onTextChanged, i want to cancel the request, i know in loopj it will use cancelRequest() to do so but i don't have idea how to cancel request from RestAdapter?

any clue will be helpful, thanks!

jjhesk commented 8 years ago

does it use any features from retrofit??