Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing onClick #174

Open
abusternielsen opened this issue Jan 1, 2019 · 0 comments
Open

Removing onClick #174

abusternielsen opened this issue Jan 1, 2019 · 0 comments

Comments

@abusternielsen
Copy link

abusternielsen commented Jan 1, 2019

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 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant