don't change the list view, change the adapter feed with a query that uses
the limit.
On Thursday, January 31, 2013 5:51:13 AM UTC-5, Live Happy wrote:
>
> i m using a cursor adapter to display items in listview from database and
> i want to limit the number of displaying by get last 20 items and than
> after click on header button retrieve other 20 i tried to use the method
> getCount() in the adapter
>
> public int getCount() {// TODO Auto-generated method stubreturn i;}
>
> with i is the number of chat who increase after header click but
>
> its not work give exception can anyone help me with it thx on advance
>
>
--
--
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
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.