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

Clicking on checkboxes doesn’t work on Android #46

Closed
tjvantoll opened this issue Jan 15, 2016 · 3 comments
Closed

Clicking on checkboxes doesn’t work on Android #46

tjvantoll opened this issue Jan 15, 2016 · 3 comments

Comments

@tjvantoll
Copy link
Contributor

No description provided.

@bradmartin
Copy link
Contributor

Come on @tjvantoll, you know you wanna... http://bradmartin.net/2016/01/05/use-the-android-checkbox-with-nativescript/ do this instead

If I have time and you don't think it will confuse/complicate the simplistic nature of this app I'll roll something for the checkboxes to use Android checkboxes. Let me know if you think that might be too much for this sample app.

@tjvantoll
Copy link
Contributor Author

I would love to switch this sample to the native controls.

I do want to keep complexity down here though, so I think you’ll want to either a) wrap the checkbox code into a plugin, or b) push the complexity into a utility module so it’s out of the main flow, for example https://github.com/NativeScript/sample-Groceries/blob/master/app/shared/utils/action-bar-util.js.

Feel free to send a PR to get the ball rolling 😀

@bradmartin
Copy link
Contributor

I've not done much iOS, but from what I've researched there is no native "checkbox" component. How do most iOS apps handle a list with selecting multiple items? I'm trying to think best way to create a checkbox plugin but if no checkbox on iOS then have to find a cocoapod or another alternative approach.

If I get some time I may put something together similar to your action-bar-util.js file.

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

2 participants