Hi,

I have a listview in my Android Application. Now, when the user
presses Next Button other contents will be loaded into the listview.
What I want is that if there are no more contents available then there
should be a toast displayed indicating that there are no more data
available.

Say, for example I have a total of 55 data available and I am
displaying only 30 of them in one listview. So, when the user presses
Next for the first time next 25 records will be visible. If the user
again presses the Next button then a toast should be displayed on top
of the last listview that had last 25 records.

Currently I get an error as IndexOutOfBoundException : Invalid
location 15 size is 1.

Can someone suggest how is it possible?

Regards

Sunil

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to