Does ListView visual properties are updated synchronously when calling the adapter.notifyDataSetChanged() in Android

view full story

http://stackoverflow.com – I have a ListView with an adapter. After removing an item and calling adapter.notifyDataSetChanged() I need to perform some calculations using the method: list.getFirstVisiblePosition(). I've noticed that if I call this method directly after the calling to adapter.notifyDataSetChanged(), the data set in the adapter is updated but the first visible position information returns a non updated answer. My question is - is the call to adapter.notifyDataSetChanged() doesn't synchronously removes the View from the list and update it's visual properties? If so, how can I know that the List visual prop (HowTos)