getPositionForView
摘要:
public void deleteButtonClick(View v) { //TODO Remove favorite - DB + file system Toast.makeText(this, "Deleting bookmark", Toast.LENGTH_SHORT).show(); final int position = getListView().getPositionForView((LinearLayout)v.getParent()); if (position >= 0) { Favorite o = (Favorite) th... 阅读全文
posted @ 2012-07-25 11:49 tt_mc 阅读(763) 评论(0) 推荐(0) 编辑