ListView does not show changes until focus changes after notifyDataSetChanged
问题 I have an AlertDialog with a ListView set to multiple selection on it. It also has a Button on it. The Button open another AlertDialog that if ok'ed will remove the selected items from the data set of the ListView , and then tell the adapter of the list view that the dataset has changed with the notifyDataSetChanged() method. This all works fine except for one thing. The ListView does not update it's content until I interact with something. Then it updates to the correct data. This is not a