listview的adapter中,点击条目中的按钮调用取消这个条目的接口,让条目自动刷新!

效果图:如图所示,


在adapter中调用取消接口成功后,在成功的回调函数中 这样写就OK了

if (list != null){
    list.remove(position);
}
notifyDataSetChanged();


猜你喜欢

转载自blog.csdn.net/qinwendou/article/details/80137696