I am getting XML data from url and displaying using a custom list adapter in a ListView.
I need to display only 10 items in ListView.
How i can do this?
Please let me know
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Only put 10 items in the adapter. Or override
getCount()and return10.