Changing debounce time for search filter

This commit is contained in:
pszklarska 2017-09-05 18:03:08 +02:00
parent 5094cbc58a
commit ad664f3529

View file

@ -108,7 +108,7 @@ public class CategorizationFragment extends Fragment {
RxTextView.textChanges(categoriesFilter)
.takeUntil(RxView.detaches(categoriesFilter))
.debounce(300, TimeUnit.MILLISECONDS)
.debounce(500, TimeUnit.MILLISECONDS)
.observeOn(AndroidSchedulers.mainThread())
.subscribe(filter -> updateCategoryList(filter.toString()));
return rootView;