I want to display a list item that says "More" at the end of my ListView. Clicking on this list-item will perform some action. How can I create this "more" list item?
A:
Just add another value to your arrayadapter (or any other adapter), you might be using.set the text to 'more' . Suppose you have n items in the list then handle the (n+1)th postion click and do your stuff.
Umesh
2010-08-31 04:48:21
A:
I don't know about the "Clicking on this list-item will perform some action" part. The typical pattern is that once the user scrolls to the bottom, new material is loaded automatically. Some people do that by detecting the scroll. I do it by putting in a "More" placeholder and detecting when that is used. Here is a component that implements this pattern.
CommonsWare
2010-08-31 08:12:46