-
Notifications
You must be signed in to change notification settings - Fork 118
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
Checkbox prompt support for picker #86
Checkbox prompt support for picker #86
Conversation
Nooo problemo thank you so much @felipemartim !! :) |
May you please give me some examples on how to use this. I keep getting crashes. |
Oops never mind got it! :) |
Whew that took a few hours. Please see the changes. I modified the js api, and update the docs and js with types. I also made it so that all things support this checkbox prompt. Only thing that does not support it is the progress dialog. The native module by afollstead doesn't support checkbox in progress dialog, I tried it. Instead of passing a checkboxPrompt object I modified it so we just have to pass If things look ok to you @felipemartim I'm ready to merge. Thanks so much for this. |
Here is the examples section, redone with the options added for showing a checkbox along with images: Alert with checkbox
Basic list with checkbox
Radio list with checkbox
Checklist with checkbox
Prompt with checkbox
|
Hey I was going to do a release to npm so was going to merge this. But please take a look at my changes when you get a chance! |
@felipemartim - in a fresh app that i install this, using the radio list (without auto dismiss) works fine. But when I try it in my actual app I am getting a crash due to:
Do you know how to fix this? |
Oh sheesh. I had |
Wow, amazing what you did here! I was totally disconnected the last few days, so I haven't even seen your questions here, sorry for that. I should have at least updated the README with some instructions. I don't know about the appcompat version, and I hope you have figured it all out, 'cause native Android development is not my specialty. |
Thank you @felipemartim ! :) Thanks to your initial efforts I was able to copy that to the other parts and the js api. Team work is a synergy! Thank you for getting it started. No problem about the appcompat I'll mention in the readme that this relies on that v4 stuff so it won't work if it's missing. :) Hopefully some android specialists will be able to clarify. |
@Noitidart here it is the original PR I owed you. Sorry, I'm just too busy right now and I couldn't even implement the changes you proposed, but maybe somebody can, so I'm opening this PR.