Which method is better?
1) Using a listview
2) Inflating and adding views in somelayout manually
Which method is better? 1) Using a listview 2) Inflating and adding views in
Share
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.
IMO:
Use a listview.
Because
1) Listviews are standardised Android UI elements. They are recogniced by users as such, and used by developers that know how to use them. If any of them then has to maintain your code, (s)he’ll thank you.
2) With some personal experience: Down the road of doing this manually: Lies pain and madness of the worst sort. Just use the tools avilable and save yourself the headache. 😉