void android.view.View.setTag(Object tag)
Since: API Level 1
Sets the tag associated with this view. A tag can be used to mark a view in its hierarchy and does not have to be unique within the hierarchy. Tags can also be used to store data within a view without resorting to another data structure.
an Object to tag the view with
also see
<code>getTag()</code>
<code>setTag(int, Object)</code>


设一个holder类


即可。
本文转自老Zhan博客园博客,原文链接:http://www.cnblogs.com/mybkn/archive/2012/05/22/2512491.html,如需转载请自行联系原作者