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

设置点击事件不触发。 #9

Open
lozn00 opened this issue Sep 24, 2021 · 0 comments
Open

设置点击事件不触发。 #9

lozn00 opened this issue Sep 24, 2021 · 0 comments

Comments

@lozn00
Copy link

lozn00 commented Sep 24, 2021

设置点击事件不触发。

    this.mAdapter.setAdapterListener(new BaseAdapter.AdapterListener<TableCell>() {
        @Override
        public void onItemClick(BaseAdapter.ViewHolder<TableCell> holder, TableCell tableCell) {
            Toast.makeText(getContext(), tableCell.getName()+"|"+tableCell.getValue(), Toast.LENGTH_SHORT).show();
        }

        @Override
        public void onItemLongClick(BaseAdapter.ViewHolder<TableCell> holder, TableCell tableCell) {
            Toast.makeText(getContext(), tableCell.getName()+"|"+tableCell.getValue(), Toast.LENGTH_SHORT).show();

        }
    });
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