android, REST, rxjava

Improving our Volley Solution using RXJava & RXAndroid

If you have read some of my posts regarding Android you may have noticed I’m a big time fan of the observer pattern. It’s with a little shame I have to admit I came to know of RXJava no long ago and since I started using it I’ve been falling in love with it more and more.

I’m also a big fan of moving any computation away from Android’s main thread (AKA UI thread) to build apps as fluid as I can. RXJava is the perfect tool to achieve this.

I won’t enter in the details of what RXJava is and the details of the Observer Pattern (RXJava is so much more than that). Instead I wanted to share with you how I jumped from the theory to the practice: CODING !

Continue reading “Improving our Volley Solution using RXJava & RXAndroid”

android, REST, Web Services

Android and RESTful request made easier (yeah using Volley)

Hey, I know it’s been a while but as usual, my excuse is I don’t have enough time to write here 🙂

This time I’d like to update some old concepts with new technologies: I’ve been working on the Android platform for a while and things evolve way too fast ! This tutorial will help you build some nice structures to fetch data from RESTful web services.

This article will not cover all the HTTP Verbs but I have laid the bases for you to easily implement them. Like my other articles, I’m going to assume you have background on Android development and you understand some programming patterns (specially the Singleton pattern).

Continue reading “Android and RESTful request made easier (yeah using Volley)”