Hello! Can't I update the view if I submitlist on ListAdapter? I'd like to update ViewHolder again.
k
khalil
07/31/2020, 2:37 PM
did you tried use
adapter.notifyDataSetChanged()
?
b
brandonmcansh
07/31/2020, 3:05 PM
thats a code smell with list adapter imo; If you need to update a VH the backing list should drive that VH change via a normal submitList be it from your ViewModel or some other state machine