Closed taeyoung4808 closed 6 years ago
You are actually trying to subscribe to an Observable
, so you should use DisposableObserver
and not DisposableSingleObserver
. Unless you convert your source of data into Single
before subscribing.
@Joseph82
sorry for my english level..
i can't understand.. lnbFaceBook.startLogin() method return "Single.create", so loginResult is not it Single type??
"Single data" mean is not it Single.create ?
if then "Single data" is Single Object?
Observable.switchMapSingle
still returns an Observable
. If you only want a single click you need to call something like single()
or first()
in the stream.
this is my code:
rxbinding clicks does not support DisposableSingleObserver ?