I am developing a android application, in which we have standard login registration pages.
I like to ask about onClick listener and onTouch listener, which action listener is better for implementing actions on buttons. And there are any effects if I used any of listener?
Use
onClickfor regular button clicks.onTouchis used for gesture detection (swiping, tapping, double-tapping, etc.)