关于安卓开发的ListView的问题
privateString[]data={"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O"};用这一...
private String[] data = {"A" ,"B","C","D","E","F" ,"G","H","I","J","K" ,"L","M","N","O"};
用这一个String当作ListView的内容后,
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
怎么知道单个ListView的long id 和 int position是多少? 展开
用这一个String当作ListView的内容后,
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
怎么知道单个ListView的long id 和 int position是多少? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询