Android onResume Hell
You could say I entered fragment onResume hell last night. In my android app I am using a ViewPager to scroll between various to-do list for a given project. Each list is a Fragment pretty much as set up in one of the starting skeleton apps defined in Android Studio. This is all well and good except for one of the features is you can move items between various lists. Making it disappear is pretty trivial as you have easy access to the ArrayAdapter for the ListView you are working with. At that point you don't really have a way to tell the list that has just got a new item in you list and you need to redraw. Eventually I hatch the idea that I will use the onResume() method on each fragment to update the view with any changes. That is call the notifyDataSetChanged() method on the ArrayAdapter class for the ListView. The weird thing is onResume was not being call as the fragment was being brought into view. Rather it was being called when we moved to the tab next to it. This mea