Hi All, In my application I have a ExpandableListView and x number of buttons. Each button when clicked presents a different list view. Some lists have a lot of items and thus there can be about 1/2-1 second delay before the items are displayed on the screen.
When the button is clicked, I have following code which sets the contents for the ExpandableListView ExpandableListView elv = (ExpandableListView)findViewById(R.id.expListView); elv.setAdapter(someExpandableListAdapter); Question: Is there way to get notified when all the items have been loaded and shown on the screen? My intention is to start a progress dialog (spinner) when the user clicks on the button and stop it when the list is displayed. This is so that the end-user knows that the device is doing something rather than being presented as unresponsive for about 1/2-1 second. Please advice if this is possible. Thanks for your time. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en