-2

I have a recyclervew which has textwatcher in every item. I am looking to update the recyclerview after user finishes entering value in edittext. Tried calling notifyDataSetChanged() inside afterTextChanged() method. But that doesn't work. Please help.

Markus Kauppinen
  • 3,025
  • 4
  • 20
  • 30
Sachin Soma
  • 3,432
  • 2
  • 10
  • 18
  • 6
    Show us your code. – Mershel Dec 10 '18 at 08:47
  • check this https://stackoverflow.com/questions/47975286/dynamic-form-with-repeating-form and this https://stackoverflow.com/questions/51454613/how-can-i-validate-recyclerview-adapter-textinputedittext-from-fragment/51454770#51454770 – AskNilesh Dec 10 '18 at 08:48

1 Answers1

0

Just re initialize adapter

newItemsData = getItems()// If you want to changes list data
mAdapter = new RecylerViewAdapter(newItemsData);

or if you list is already changed just call

mAdapter.notifydatasetChanged()
Sachin Kasaraddi
  • 597
  • 5
  • 12