Questions tagged [rx-binding]

RxJava binding APIs for Android UI widgets from the platform and support libraries by Jake Wharton

RxJava binding APIs for Android UI widgets from the platform and support libraries by Jake Wharton

101 questions
0
votes
1 answer

rxbinding and click on right drawable

Is there a way to implement the on click listener on the right drawable of an EditText by using RxBinding? The only thing I found is: RxTextView.editorActionEvents(mEditText).subscribeWith(new DisposableObserver() { …
kingston
  • 11,053
  • 14
  • 62
  • 116
0
votes
1 answer

How to stop an observable upon click in RxAndroid?

I'm learning RxAndroid/RxBinding. I'm trying to stop an observable sequence upon a button click event but don't know how to do it. FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab); Button bt =…
0
votes
1 answer

How to combine RxBinding textView and PublicSubject?

i am new to RxJava. What I want to accomplish is search functionality, where every key press is a request. Also I want be able to call the request explicitly. So I used RxTextView.textChanges(editText) .debounce .flatmap(request) for the first part.…
urSus
  • 12,492
  • 12
  • 69
  • 89
0
votes
1 answer

RxJava filter behaviour

I wrote code which is debouncing text in EditText and filtering out text with lest than 4 characters: charSequenceInitialValueObservable.skipInitialValue() .filter(new Predicate() { @Override public boolean test(@NonNull…
Bresiu
  • 2,123
  • 2
  • 19
  • 31
0
votes
2 answers

RxJava - two Observable sources, combine output only on certain values

Question: Which operator or transform should I be using to combine two data streams in smallest amount of code and in the most efficient way? ViewPager, RxBinding, Event stream With an Android ViewPager, I'm observing events (using RxBinding) 1)…
Baker
  • 24,730
  • 11
  • 100
  • 106
0
votes
1 answer

RxBinding2 Chain with 2 Network Calls - SearchViewQueryText

I have an RxBinding2 in my View that looks like the below: @Override public Observable searchIntent() { return RxSearchView.queryTextChangeEvents(searchView) .debounce(500,…
Josh Laird
  • 6,974
  • 7
  • 38
  • 69
0
votes
2 answers

Transform sequence of T into List inside infinite stream

I'm using RxBinding to handle search in my app. How to get the result as a List of the items? toList().toBlocking().single() is not an option inside infinite stream because onComplete() will never be called. Any ideas?…
lordmegamax
  • 2,684
  • 2
  • 26
  • 29
0
votes
1 answer

Rx SearchView needs to cancel on going request with less priority

I am using RxSearchView.queryTextChangeEvents to detect the events of “Search As You Type” and also when you submit a search, SAYT is to get suggestions and when you do a submit, it executes a full search. There are 2 problems I am having at the…
Kenenisa Bekele
  • 835
  • 13
  • 34
0
votes
1 answer

RxSearchView observing textChanges and Events at the same time

I am using RxSearchView to query the text changes in a form of "Search as you type" RxSearchView.queryTextChanges(searchView) but I would like to also catch when the user submits the search, so then I have to use…
Kenenisa Bekele
  • 835
  • 13
  • 34
0
votes
1 answer

What package contains RxBinding WidgetObservable?

What package contains WidgetObservable? I added all possible packages from JakeWharton/RxBinding but WidgetObservable still not available in the code build.gradle dependencies { compile fileTree(include: ['*.jar'], dir:…
Arvalon
  • 101
  • 6
-2
votes
1 answer

RxBinding or RxAndroid

I do not have very clear these two concepts, as they relate RxBinding and RxAndroid. RxBinding is used for the view, can I use RxAndroid without using RxBinding?
7u15
  • 1
  • 1
1 2 3 4 5 6
7