1)在string.xml 文件中添加
<item tyoe="id" name = "tag_first" />
<item tyoe="id" name = "tag_send" />
<item tyoe="id" name = "tag_three" />
已此类推
在使用的时候
View.setTag(R.id.tag_first, 数据);
View.setTag(R.id.tag_send, 数据);
获取
View.getTag(R.id.tag_first);
View.getTag(R.id.tag_send);