Hello to all :) ,
I have created a TableView and I need to intercept the x coordinate of the tap.
In Corona you can do something like this?
private int touchPositionX;
…
getListView().setOnTouchListener(new OnTouchListener() {
public boolean onTouch(View view, MotionEvent event) {
touchPositionX = (int)event.getX();
return false;
}
});
getListView().setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
if (touchPositionX < 100) {
…
Thank you all for the help
RoDAgo