Tabnine Logo
RxTextView
Code IndexAdd Tabnine to your IDE (free)

How to use
RxTextView
in
com.jakewharton.rxbinding2.widget

Best Java code snippets using com.jakewharton.rxbinding2.widget.RxTextView (Showing top 19 results out of 315)

origin: ZieIony/Carbon

@CheckResult
@NonNull
default InitialValueObservable<CharSequence> textChanges() {
  return RxTextView.textChanges((android.widget.TextView) this);
}
origin: ZieIony/Carbon

@CheckResult
@NonNull
default InitialValueObservable<TextViewTextChangeEvent> textChangeEvents() {
  return RxTextView.textChangeEvents((android.widget.TextView) this);
}
origin: ZieIony/Carbon

@CheckResult
@NonNull
default InitialValueObservable<TextViewAfterTextChangeEvent> afterTextChangeEvents() {
  return RxTextView.afterTextChangeEvents((android.widget.TextView) this);
}
origin: ZieIony/Carbon

@CheckResult
@NonNull
default InitialValueObservable<TextViewBeforeTextChangeEvent> beforeTextChangeEvents() {
  return RxTextView.beforeTextChangeEvents((android.widget.TextView) this);
}
origin: ZieIony/Carbon

@CheckResult
@NonNull
default Observable<TextViewEditorActionEvent> editorActionEvents(@NonNull Predicate<? super TextViewEditorActionEvent> handled) {
  return RxTextView.editorActionEvents((android.widget.TextView) this, handled);
}
origin: kaushikgopal/RxJava-Android-Samples

@Override
public View onCreateView(
  LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
 View layout = inflater.inflate(R.layout.fragment_form_validation_comb_latest, container, false);
 unbinder = ButterKnife.bind(this, layout);
 _emailChangeObservable =
   RxTextView.textChanges(_email).skip(1).toFlowable(BackpressureStrategy.LATEST);
 _passwordChangeObservable =
   RxTextView.textChanges(_password).skip(1).toFlowable(BackpressureStrategy.LATEST);
 _numberChangeObservable =
   RxTextView.textChanges(_number).skip(1).toFlowable(BackpressureStrategy.LATEST);
 _combineLatestEvents();
 return layout;
}
origin: kaushikgopal/RxJava-Android-Samples

@Override
public void onActivityCreated(@Nullable Bundle savedInstanceState) {
 super.onActivityCreated(savedInstanceState);
 _setupLogger();
 _disposable =
   RxTextView.textChangeEvents(_inputSearchText)
     .debounce(400, TimeUnit.MILLISECONDS) // default Scheduler is Computation
     .filter(changes -> isNotNullOrEmpty(changes.text().toString()))
     .observeOn(AndroidSchedulers.mainThread())
     .subscribeWith(_getSearchObserver());
}
origin: square/sqlbrite

Observable.combineLatest(createClicked, RxTextView.textChanges(name),
  new BiFunction<String, CharSequence, String>() {
   @Override public String apply(String ignored, CharSequence text) {
origin: AllenCoder/AppManager

RxTextView.textChangeEvents(mEtRxJava)
    .debounce(INTERVAL, TimeUnit.MILLISECONDS)
    .observeOn(AndroidSchedulers.mainThread())
origin: square/sqlbrite

Observable.combineLatest(createClicked, RxTextView.textChanges(name),
  new BiFunction<String, CharSequence, String>() {
   @Override public String apply(String ignored, CharSequence text) {
origin: yoyiyi/bilisoleil

RxTextView.textChangeEvents(mEtUsername)
    .compose(bindToLifecycle())
    .subscribe(textViewTextChangeEvent -> {
origin: aint/laverna-android

@Override
public void subscribeEditorForPreview(EditText editText) {
  mEditorEditTextDisposable = RxTextView.textChanges(editText)
      .debounce(300, TimeUnit.MILLISECONDS)
      .map(text -> mMarkdownParser.getParsedHtml(text.toString()))
      .subscribeOn(Schedulers.io())
      .observeOn(AndroidSchedulers.mainThread())
      .subscribe(html -> mNoteEditorActivity.loadPreview(html));
}
origin: aliumujib/Nibo

private Observable<String> getObservableForEditext(EditText editText) {
  return RxTextView.textChanges(editText).filter(new Predicate<CharSequence>() {
    @Override
    public boolean test(@NonNull CharSequence charSequence) throws Exception {
      return charSequence.length() > 3;
    }
  }).debounce(300, TimeUnit.MILLISECONDS).map(new Function<CharSequence, String>() {
    @Override
    public String apply(@NonNull CharSequence charSequence) throws Exception {
      return charSequence.toString();
    }
  });
}
origin: adroitandroid/Near

RxTextView.textChanges(binding.msgEt)
    .debounce(200, TimeUnit.MILLISECONDS)
    .subscribe(new Observer<CharSequence>() {
origin: abbas-oveissi/SearchMovies

RxTextView.textChanges(searchView.getRootView().findViewById(R.id.searchTextView))
    .filter(charSequence -> isNotNullOrEmpty(charSequence.toString()))
    .debounce(1000, TimeUnit.MILLISECONDS).map(CharSequence::toString)
origin: Carson-Ho/RxJavaLearningMaterial

Observable<CharSequence> nameObservable = RxTextView.textChanges(name).skip(1);
Observable<CharSequence> ageObservable = RxTextView.textChanges(age).skip(1);
Observable<CharSequence> jobObservable = RxTextView.textChanges(job).skip(1);
origin: Carson-Ho/RxJavaLearningMaterial

RxTextView.textChanges(ed)
    .debounce(1, TimeUnit.SECONDS).skip(1)
    .observeOn(AndroidSchedulers.mainThread())
origin: aliumujib/Nibo

Observable<String> obs = RxTextView.textChanges(mSearchEditText).filter(new Predicate<CharSequence>() {
  @Override
  public boolean test(@NonNull CharSequence charSequence) throws Exception {
origin: square/whorlwind

Observable.combineLatest(RxTextView.textChanges(keyView),
    RxTextView.textChanges(valueView),
com.jakewharton.rxbinding2.widgetRxTextView

Most used methods

  • textChanges
  • textChangeEvents
  • afterTextChangeEvents
  • beforeTextChangeEvents
  • editorActionEvents
  • editorActions

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • JTable (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now