在Android上滑动ListView项类似iPhone的邮件应用类似、邮件、Android、ListView

2023-09-05 08:02:39 作者:風dū烫sんоυ

我开始与Android的发展,我试图创建一个的ListView 的项目,其作用类似这样的图片:

I'm starting with Android development and I was trying to create a ListView item that acts like this image:

.

在最后一个步骤中,用户可以点击多或删除,而另一视图将在那里逗留像的最后一步,并且用户将能够轻扫权利把视图回的地方

On the last step the user can click on "more" or "delete" and the other view will stay there like the last step, and the user will be able to swipe right to put the view back at the place

我已经尝试使用一些教程约轻扫解雇,但我不能完成这件事。有谁知道任何框架或某种方式来做到这一点?

I have already tried using some tutorials about swipe to dismiss but I couldn't get this done. Does anyone know any framework or some way to do this?

推荐答案

它看起来更像是在IOS刷一下,就能TableViews:

Check out SwipeMenuListView

It looks a lot more like the Swipe-able TableViews in iOS: