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

Add a robospice-retrofit2 module #459

Open mykolaj opened 8 years ago

mykolaj commented 8 years ago

Add a robospice-retrofit2 module to be able to use Retrofit-2.0.0 and up with RoboSpice

sailorseashell commented 7 years ago

@mykolaj I looked into why these builds were failing and it looks like it's because you didn't push the changes to your submodule for retrofit2. If you push the submodule changes first, followed by the main repo changes, it should work.

mykolaj commented 7 years ago

@aliceharrison OK, I'm going to need to refresh my memory a little about this issue, and will do everything from my side after that.

sunnymopada commented 7 years ago

@mykolaj Did you push the code with support of retrofit two?

mykolaj commented 7 years ago

@SanyasiraoM Please follow a link to check out my repo with a demo on how Retrofit2 can be used with Robospice: https://github.com/mykolaj/Robospice-Retrofit2-sample Although I've created a pull request, I doubt that it would be merged and/or released any time soon.

// ---- BEGIN In case someone need to use Retrofit2 with RoboSpice take a look at a sample repository.

What you can do is to clone that sample, take '.jar' files from a 'libs' folder from here, and import // them into your own project. git clone https://github.com/mykolaj/Robospice-Retrofit2-sample.git

That's all for now. // ---- END

sunnymopada commented 7 years ago

Thank you @mykolaj