我有一个自定义的ListView显示的话,从数据库中选择的列表。当我刷卡此列表视图项我想告诉像下面的图像删除按钮。当我preSS的按钮,它是从数据库中删除,并刷新列表视图。 米
I have a custom ListView showing the list of words selecting from database. When I swipe this listview item i want to show Delete button like image below. And when I press that button it is deleted from Database and refresh the listview. m
我已经看在此示例code here.但它仍然无法正常工作。
I already look in this sample code here. But it still does not work.
推荐答案
有一个在https://github.com/47deg/android-swipelistview您可以使用=)
there's a nice library in https://github.com/47deg/android-swipelistview you could use =)
编辑:
我最近发现,可以解决你的问题,其他图书馆: https://github.com/daimajia/AndroidSwipeLayout
i recently found other library that could solve your issue: https://github.com/daimajia/AndroidSwipeLayout
相关推荐
最新文章