AndroidSwipeLayout
AndroidSwipeLayout copied to clipboard
position of the swipe layout changes while scrolling
Now I am getting issue in listview swipe option. I am using BaseSwipeAdapter
While opening an item by swipe, then I scroll down I can see the other views also open at a particular intervel. I set the mode of the adapter to
Attributes.Mode.Single
But the same issue occurs
same issue, any solution @nithinlal191 ?
Same issue for RecylceSwipeAdapter @nithinlal191
same issue, any solution @nithinlal191 ?
I sort my glitch this way into onBindViewHolder(...)
viewHolder.swipeLayout.open(SwipeLayout.DragEdge.Left); viewHolder.swipeLayout.close(); viewHolder.swipeLayout.setShowMode(SwipeLayout.ShowMode.LayDown); viewHolder.swipeLayout.setLeftSwipeEnabled(false);
I had that issue, I was using recycler view. onverriding getItemViewType() and getItemId() worked for me.