xenione / swipe-maker

Easy Swipe Maker
Apache License 2.0
209 stars 44 forks source link

Swipe left #8

Closed CeVague closed 7 years ago

CeVague commented 7 years ago

When I create a list of "left swipe item" and I begin to scroll up or down in the list, each time I touch an item (I touch it just to do the scrolling action), it opened. And it opened only one time. Once we close it t he bug disappears.

The code I use is : mForegroundView.anchor(0, -width_first_item, -(width_first_item + width_second_item) );

And because my English is pretty bad, here is a video of the problem : https://youtu.be/MAfllLtiGhk

xenione commented 7 years ago

it's your conctrete AbsCoordinatorLayout at the top of your View Hierarchy?

Please tell me more info about device and android version

CeVague commented 7 years ago

Oh yeah, sorry : I use android 6.0.1 on a "Asus ZenFone 2 ZE551ML"

Not sure what you mean by your first question.

But I had the same bug when I just modify your example application ("Two-steps Right Swipe") by just set others anchors (like presented above). Strangely, it work well with a "One-step Left Swipe"

xenione commented 7 years ago

Thanks @CeVague I can reproduce the bug. I will fix as soon as I can.

CeVague commented 7 years ago

Perfect ^^ Good luck.

And thanks for this pretty good library.

xenione commented 7 years ago

fix it at version 1.1.3