Recyclerview without Scrolling, but still showing all my Items

127 Views Asked by At

Situation:

Currently I have multiple RecyclerViews with each different Categories of Items in a ScrollView. My Plan is to have multiple Lists of Items displayed from multiple ArrayLists in Lists, where I can delete certain Items by swiping right/ left on them. All these Lists are supposed to be on one Page. So I can Scroll through these Lists, but swipe right/ left on Items I dont want.

My Problem with the RecyclerView is that it has it's own Scroll function... which of course makes sense. Thats the whole point behind it. Yet I haven't found a way to swipe right / left on Items without using RecyclerViews (/ ItemTouchHelper). So I tried it anyway... turning off the RecyclerView Scroll function, but I then didn't get a list of 20 Items anymore. My list was reduced to 9 Items. My guess is that all the other Items are there, but can't be uncovered, because the Scroll function is off. So my List is reduced to all Items that fit onto my Screen without Scrolling

Question:

  1. Is there a way to use a ListView or something like that, where the swipe function- right / left so I can remove Items from that List exists?
  2. Is there a way to still use the RecyclerView but have all Items of my List displayed. Meaning the RecyclerView would get Characteristics of a ListView

I need:

I need the Swipe to be instant, like with the RecyclerView. I want to swipe the Item and it instantly needs to go. I don't want / like to swpie and then getting a side menu that asks me whether I want to delete this Item. The Swipe needs to be instant.

Thanks in advance!

0

There are 0 best solutions below