Sathvi Siva
Sathvi Siva

Reputation: 37

How to refresh the Recycler View on TextView change

I have a Recycler View list. I want to refesh the Recycler View on TextView value change

Upvotes: 0

Views: 596

Answers (1)

Karan
Karan

Reputation: 2130

Did you try? :

textMessage = (EditText)findViewById(R.id.textMessage);
textMessage.addTextChangedListener(new TextWatcher(){
    public void afterTextChanged(Editable s) {

        //Refresh your view, make network calls to server or something
  }
});

Upvotes: 1

Related Questions