Skip to content

Instantly share code, notes, and snippets.

public class RxPicasso {
@NotNull
public static Observable<Void> load(RequestCreator requestCreator, ImageView imageView) {
return Observable.create(subscriber -> {
requestCreator.into(imageView, new Callback() {
@Override
public void onSuccess() {
if (!subscriber.isUnsubscribed()) {
subscriber.onNext(null);

Keybase proof

I hereby claim:

  • I am kangsLee on github.
  • I am kangsan (https://keybase.io/kangsan) on keybase.
  • I have a public key whose fingerprint is 4854 B0C5 10EF 1AD5 7DB2 672D C711 7E10 E5C6 2711

To claim this, I am signing this object: