onScroll method
I need x and y scrolling, how can i do this?
What do you mean by x and y scrolling? Related to what? The screen, the pointer down touch event?
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?
@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 !!!