سؤال

I have a listview. And I need to make something very easy to acces on the listview. So I want to make something like the Samsung contact list.

Can somebody help me where I need to start? (Maybe a code example or some explanation where to start?)

enter image description here

It is just that I want to make a listview with this kind of swipe mechanic. I don't want to remove a row or add a row. I just want a event behind it to do stuff when swiped. And the animation would be cool if it was something like that.

هل كانت مفيدة؟

المحلول

Follow the libraries on github

  1. listview animations
  2. swipe to dismiss
  3. Roman nurik's Android-SwipeToDismiss

نصائح أخرى

This 'SwipeToDismissUndoList' code might help you.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top