diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2015-01-08 17:16:57 +0100 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2015-01-08 17:38:36 +0100 |
commit | 8d8a9d9a5e0e6294a61700b687726da37c672cf6 (patch) | |
tree | 36dfd8abe6eb17163955703e5a65c8847741b414 /main/src/cgeo/geocaching/connector | |
parent | f5891b88b3a87a230f2b0d68230ef8e6842b4734 (diff) | |
download | cgeo-8d8a9d9a5e0e6294a61700b687726da37c672cf6.zip cgeo-8d8a9d9a5e0e6294a61700b687726da37c672cf6.tar.gz cgeo-8d8a9d9a5e0e6294a61700b687726da37c672cf6.tar.bz2 |
Revert "Use bindView instead of bindActivity/bindFragment where appropriate"
This reverts commit d3dc2be5040ea3f4846d9b948c3a0f95b9359f71 and fixes #4604.
Conflicts:
main/src/cgeo/geocaching/MainActivity.java
Diffstat (limited to 'main/src/cgeo/geocaching/connector')
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/RecaptchaHandler.java | 4 |
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 5fc3c2b..1258ddd 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.view.ViewObservable; +import rx.android.app.AppObservable; import rx.functions.Action1; import rx.functions.Func0; @@ -64,7 +64,7 @@ public class RecaptchaHandler extends Handler { return Observable.empty(); } }); - ViewObservable.bindView(imageView, captcha).subscribeOn(RxUtils.networkScheduler).subscribe(new Action1<Bitmap>() { + AppObservable.bindActivity(activity, captcha).subscribeOn(RxUtils.networkScheduler).subscribe(new Action1<Bitmap>() { @Override public void call(final Bitmap bitmap) { imageView.setImageBitmap(bitmap); |