问题
I have a Recycler View list. I want to refesh the Recycler View on TextView value change
回答1:
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
}
});
来源:https://stackoverflow.com/questions/29419660/how-to-refresh-the-recycler-view-on-textview-change