FabianTerhorst / ApiClient

A easy to use api client that combines the power of Retrofit, Realm, Gson, Rxjava and Retrolambda in a easy to use library for Java and Android
Apache License 2.0
96 stars 16 forks source link

Fix Api-subscriber's onCompleted call before realm data is loaded #8

Closed Scit closed 8 years ago

Scit commented 8 years ago

We need to take 2 first items from realm: 1) from current realm state 2) from updated realm state (after data is loaded via retrofit). Only then subscriber should be closed (issue #7 ).

FabianTerhorst commented 8 years ago

compile 'io.fabianterhorst:apiclient:0.4.4'