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

Disabling the onClick event for listview #46

Open
karakanb opened this issue Apr 14, 2017 · 0 comments
Open

Disabling the onClick event for listview #46

karakanb opened this issue Apr 14, 2017 · 0 comments

Comments

@karakanb
Copy link

karakanb commented Apr 14, 2017

Hi. I have a custom listview that consists of CheckedTextView elements. I want to be able to check that at least one of the checkboxes is checked, and if not, keep the dialog on the screen. In order to implement this, I loop over the list items and check all of them. However, I could not find any way to keep the dialog open while onClick on positive is set. How should I proceed? Is there a way to implement a check in the onClick listener, and close or keep the dialog open according to the check result?

Thanks.

@javiersantos

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