摘要: 让ListView回到原来的位置当从ListView中的某一个Item跳转到其他的Activity,进行操作之后,ListView可能需要刷新(重新加载数据源),这个时候ListView就会回到原始的状态,即:从第一个Item开始显示。我们要做的是让它回到原来的位置//记录当前的ListView的位... 阅读全文
posted @ 2015-04-28 11:01 Michelle's Home 阅读(364) 评论(0) 推荐(0) 编辑
摘要: SimpleAdapter listItemAdapter = new SimpleAdapter(this, listItem,R.layout.items_list,new String[] { "imagePath", "name", "njname", "length", "id" },ne... 阅读全文
posted @ 2015-04-28 10:36 Michelle's Home 阅读(1266) 评论(0) 推荐(0) 编辑