aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2015-01-07 14:26:36 +0100
committerSamuel Tardieu <sam@rfc1149.net>2015-01-07 14:36:11 +0100
commitd3dc2be5040ea3f4846d9b948c3a0f95b9359f71 (patch)
treed43249e2df5539e079eafbc43494208fe8739bdf /main/src/cgeo/geocaching/connector
parent61385d66a8b5b0d16febc6f0642aea54d808628a (diff)
downloadcgeo-d3dc2be5040ea3f4846d9b948c3a0f95b9359f71.zip
cgeo-d3dc2be5040ea3f4846d9b948c3a0f95b9359f71.tar.gz
cgeo-d3dc2be5040ea3f4846d9b948c3a0f95b9359f71.tar.bz2
Use bindView instead of bindActivity/bindFragment where appropriate
Diffstat (limited to 'main/src/cgeo/geocaching/connector')
-rw-r--r--main/src/cgeo/geocaching/connector/gc/RecaptchaHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/RecaptchaHandler.java b/main/src/cgeo/geocaching/connector/gc/RecaptchaHandler.java
index 1258ddd..5fc3c2b 100644
--- a/main/src/cgeo/geocaching/connector/gc/RecaptchaHandler.java
+++ b/main/src/cgeo/geocaching/connector/gc/RecaptchaHandler.java
@@ -11,7 +11,7 @@ import cgeo.geocaching.utils.RxUtils;
import org.apache.commons.io.IOUtils;
import rx.Observable;
-import rx.android.app.AppObservable;
+import rx.android.view.ViewObservable;
import rx.functions.Action1;
import rx.functions.Func0;
@@ -64,7 +64,7 @@ public class RecaptchaHandler extends Handler {
return Observable.empty();
}
});
- AppObservable.bindActivity(activity, captcha).subscribeOn(RxUtils.networkScheduler).subscribe(new Action1<Bitmap>() {
+ ViewObservable.bindView(imageView, captcha).subscribeOn(RxUtils.networkScheduler).subscribe(new Action1<Bitmap>() {
@Override
public void call(final Bitmap bitmap) {
imageView.setImageBitmap(bitmap);