The number of datasets in my adapter grows from initially 4 while loading data. After new data has arrived getCount now returns 7positions 4 trough 6 are queried. Instead I would like to update the first 4 items immediately.
The cause of this behavior may be related to some animations I do with the items in the ListView. The animation is done in onPreDrawListener using View.
Glemi 1 4 Good point but I'm afraid that's not the cause here.
The views concerned here at pos are being displayed. I will post a screenshot to illustrate. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
BaseAdapter with Android ListView.
This operation is not trivial especially when the lisview has to frequently call getView when the list is. This removes the need to call any of the Java code shown above.
For example, the binding adapter can take care of calling the setText().
MORE: Another free dating site