RestKit in android?

I used restkit framework in ios. It is very powerful and provides features such as caching and all. I see if a similar structure is available in android?

I came across a framework called restlet . But I did not find any samples for work.

Is there any framework for this to cache data from leisure services? Also can someone lead me to good tutorials for restayl in android?

thanks

+7
source share
5 answers

In addition, there is this first tutorial on how to use the Restlet version for Android: http://restlet.org/learn/guide/2.2/introduction/first-steps/first-application

+7
source

There is a sample for work:

http://restlet.org/learn/guide/2.2/introduction/first-steps/first-application

He must solve your problem.

+3
source

I would not call it a framework, but there is a library called Robospice that supports caching of leisure calls.

Here is the description they posted on their web page:

RoboSpice is a modular android library that makes writing asynchronous long-running tasks easy. He specializes in network requests, supports caching, and offers REST requests out of the box using extension modules

+1
source

Give a retrofit shot. It is easy with lots of settings.

It also has OkHttp , which can be combined with it.

Also check out this SO link . It compares Retrofit with Android AsyncTasks and Volley . In terms of speed, Retrofit wins hands.

+1
source

I think that RestTemplate, included in Spring for Android, is a good solution: http://static.springsource.org/spring-android/docs/1.0.x/reference/html/rest-template.html

There is a book that contains a tutorial: http://www.packtpub.com/spring-for-android-starter/book

Unlike Restkit, which comes with Core Data support, you still have to look for a separate solution if you want to connect the Android Spring REST client to the local sqlite SQL block. It should be possible to use something like http://greendao-orm.com/ in connection with the Spring REST client.

0
source

All Articles