mcharmas / Android-ReactiveLocation

Small library that wraps Google Play Service API in brilliant RxJava Observables reducing boilerplate to minimum.
2.11k stars 312 forks source link

error #183

Open Gowda96 opened 6 years ago

Gowda96 commented 6 years ago

Cannot resolve method 'subscribe(anonymous java.util.function.Consumer)'

i'm using it like this:

locationProvider.getLastKnownLocation() .subscribe(new Consumer() { @Override public void call(Location location) { location.getLongitude(); } });

LunevNF commented 5 years ago

Have same error. Code from example and error. Bad.

LunevNF commented 5 years ago

Use old version.