Is it possible to remove onClick on rows? I have a tablayout, where sliding left and right to change fragment doesn't work properly, because the onClick on rows interfers my tablayout.
I've done this, but it doesn't work:
TableDataClickListener listener = new TableDataClickListener() {
@Override
public void onDataClicked(int rowIndex, Object clickedData) {
}
};
TableDataLongClickListener longListener = new TableDataLongClickListener() {
@Override
public boolean onDataLongClicked(int rowIndex, Object clickedData) {
return false;
}
};
tableView.removeDataClickListener( listener );
tableView.removeDataLongClickListener( longListener );
Is it possible to remove onClick on rows? I have a tablayout, where sliding left and right to change fragment doesn't work properly, because the onClick on rows interfers my tablayout.
I've done this, but it doesn't work: