4

I want to create swipeable stack view in my app. I attach the view below.
In that stack view, can I delete a particular item by swiping on item position?

enter image description here

Please provide me any reference example or tutorial.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Narendra Motwani
  • 1,085
  • 10
  • 20

1 Answers1

3

I have done with two ways:

  1. This one

  2. This one

Hope this will help you.

Hiren Patel
  • 52,124
  • 21
  • 173
  • 151
  • @yuchi_1k91, Glad to help you. :) – Hiren Patel Dec 04 '15 at 09:40
  • 1
    So. I found a problem. This project only support minSdkversion 22 to above :( – hungtdo Dec 04 '15 at 09:53
  • 1
    @yuchi_1k91, Yes I mentioned it as Note: – Hiren Patel Dec 04 '15 at 09:53
  • 1
    @yuchi_1k91, can you please try this one? https://github.com/ZieIony/MaterialRecents – Hiren Patel Dec 04 '15 at 09:58
  • @Hirent Patel So thanks. I tried it. But it raise out Of Memory when load more items. – hungtdo Dec 04 '15 at 09:59
  • Warning:Dependency com.github.ZieIony:MaterialRecents:d2aec46f48 on project app resolves to an APK archive which is not supported as a compilation dependency. File: C:\Users~.gradle\caches\modules-2\files-2.1\com.github.ZieIony\MaterialRecents\d2aec46f48\494f96d345471f38b6f3f4c1c42347a2b42f8303\MaterialRecents-d2aec46f48.apk Can anyone tell me why i'm getting this? – Muhammad Feb 21 '16 at 14:48