Swipe Detection in Android app
Don't forget to subscribe my channel.
Copy code here:
linear1.setOnTouchListener(new View.OnTouchListener()\n{@Override\n public boolean onTouch(View myview, MotionEvent myme){ \nswitch(myme.getAction()) { \ncase MotionEvent.ACTION_DOWN: {x1 \u003d myme.getX();\ny1 \u003d myme.getY();};\nbreak; \ncase MotionEvent.ACTION_UP: {x2 \u003d myme.getX();\ny2 \u003d myme.getY();\n_swipedetection ();};\nbreak;\n}\nreturn true;}});
Please sent your es-file explorer.
ReplyDeletebecaise my es file explore just display some chinese word
Please! Please! Please! Please! Please! Please!Please! sent your es-file explorer
ReplyDelete