Adding a row to a ListView that displays "Loading" while information is downloaded. Like in the Market.
Posted
by
user577139
on Stack Overflow
See other posts from Stack Overflow
or by user577139
Published on 2011-01-15T23:51:52Z
Indexed on
2011/01/15
23:53 UTC
Read the original article
Hit count: 174
I've tried, but have had no luck trying to find this answer elsewhere.
I want to add a row to the bottom of my listview that displays "Loading..." and maybe a spinning progress indicator.
My program already loads additional information into the listview once the user scrolls to the bottom. But I want the user to be able to see that the program is indeed loading something.
Example: If you go to the android marketplace and scroll to the bottom of one of the lists, the last row will say "Loading...". Then once the data is loaded, that bar is replaced with the first item of the new data.
Sorry, it's a little hard to describe. I am NOT trying to add a footer to the bottom of the list view. I want it to be an actual item in the listview.
© Stack Overflow or respective owner