Questions tagged [android-swipe]
23 questions
0
votes
1 answer
How can I de-select recyclerView Item onSwiped?
I have a fragment with a recyclerView.
A user is allowed to delete an exercise logEntry by swiping right.
A user can also update a logEntry by clicking on the recyclerView item.
(This highlights the current selected item green, hides the clear…

Josh Brett
- 77
- 3
- 18
0
votes
0 answers
Changing orientation from Landscape to Portrait & vice-versa keep the same width in SwipeRevealLayout
I'm using the chthai64/SwipeRevealLayout library, version 1.4.1, and when I change orientation from Portrait to Landscape or vice-versa, rows in Recycler view keep the same width giving improper size.
My activity has…

Cristian Chávez
- 1
- 5
0
votes
1 answer
Swiping Over Multiple TextViews
I wanted to imlement the swipe function over multiple textviews, where each view implements a onclick Listener. My problem is if i add onTouch to each textview and since they are small and many, they wont be able to recognize teh diference in both.…

Radaeld
- 175
- 1
- 2
- 9
0
votes
0 answers
How to create Vertical swipe screens in android?
I am trying to Create a Two Fragments and add a vertical swiping effect to that.Actually, I got few answers during searching.But I am still confusing about vertical swiping creation.Can anyone suggest how to start or give some references?I am just a…

Kandroid
- 1
- 2
0
votes
0 answers
Click button after RecyclerView onSwipe
I have a RecyclerView with an ImageButton and a TextView. I implemented swiping with ItemTouchHelper.Callback: the TextView is moved to the right and the ImageButton is flipped, showing a bin icon.
I want to be able to click on the ImageView in…

rea104
- 1
- 4
0
votes
2 answers
How to scroll recyclerview based on another one
I have two recycleView in the same layout and same SwipeRefresher one for normal result and another for VIP it's worked as well, but the VIP recycle come above the result recycle, and that gives me a wired result.
The screen show VIP while scrolling…
user7913931
-1
votes
1 answer
Delete a row from RecyclerView
I have a recyclerview in a fragment and i've implemented swipe to delete in it.
Please find the code below:
fragment.kt
private lateinit var mBinding: FragmentToDoBinding
private lateinit var mToDoViewModel: ToDoViewModel
override fun…

Mervin Hemaraju
- 1,921
- 2
- 22
- 71
-1
votes
2 answers
Swipe to refresh
I'm new to Java and Android Development.
Stuck with implementing "SWIPE TO REFRESH" in android. I'm trying to access a method that is in other class. I will highlight the error that android studio gives in blockquote. Help is much…

Nishanth Kr
- 113
- 2
- 9