Hello! Can't I update the view if I submitlist on ...
# android
j
Hello! Can't I update the view if I submitlist on ListAdapter? I'd like to update ViewHolder again.
k
did you tried use
adapter.notifyDataSetChanged()
?
b
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