Swipecards icon indicating copy to clipboard operation
Swipecards copied to clipboard

onScroll method

Open kevicsalazar opened this issue 9 years ago • 3 comments

I need x and y scrolling, how can i do this?

kevicsalazar avatar Jul 26 '16 16:07 kevicsalazar

What do you mean by x and y scrolling? Related to what? The screen, the pointer down touch event?

Diolor avatar Nov 06 '16 11:11 Diolor

The onScroll method only works on the last item of the adapter.

@Override
                    public void onScroll(float v) {
                        Log.e("SCROLLFLOAT : ", String.valueOf(v));

                        holder.likeLabel.setAlpha(v);
                        holder.nopeLabel.setAlpha(v);
                    }

How can I set the alpha for the texts for the first item of the list?

WilbertTan avatar Jun 07 '18 07:06 WilbertTan

@Diolor Please help me, how to to know X and Y coordinates while image is dragging left or right? we have public void onLeftCardExit and onRightCardExit but this will hits only after left or right swiped, but m looking for something while dragging itself. Like to achieve onDrag event. Tried many things but unable to get onTouch event. PLEASE HELP !!!

avibaghel avatar Oct 22 '18 20:10 avibaghel