Ecchilon / SadPanda

Apache License 2.0
2 stars 4 forks source link

Move towards reactive pattern #46

Closed Ecchilon closed 8 years ago

Ecchilon commented 8 years ago

This is still a work in progress. It contains a few big changes. The largest is the introduction of reactive patterns through the use of RxJava. Using reactive patterns throughout the app should allow much easier refactoring in the future and makes the API easier to work with in general. The second large change is the replacement of the Apache Http client with OkHttp. This was necessary because the Apache client will be deprecated for Android 23, which I want to start using so the future material design refactoring becomes simpler.
The final change introduced here is retrolambda, which allows for lambda usage in Android even though it's running Java 7. The reason this is done because otherwise I'd become suicidal because of all the (anonymous) inner classes.

There are still a few things broken so this is mostly a WIP. Should be completed soon though.

Ecchilon commented 8 years ago

http://reactivex.io/documentation/operators/subscribeon.html

Ecchilon commented 8 years ago

:+1: