Android custom list -- simpleadapter

Source: Internet
Author: User
Address:Http://blog.csdn.net/you_and_me12/article/details/8511386

2013-01-16

Miscellaneous:The last day is over. I wrote a blog for the first time in 13 years and wrote a bug.


Content Description:Write a custom list and reload simpleadapter. In the previous list, there were only three options, and the fourth one was added. The fourth image is displayed in the same way as the first one. No change is correct. Finally, I found that a non-empty judgment is added to the adapter. If convertview has a value, it will not be parsed ,.

After deletion, the bug-> resoved

 
Public class personsselectadapter extends simpleadapter {... @ Overridepublic view getview (INT position, view convertview, viewgroup parent) {If (convertview = NULL ){...}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.