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
App crash after adding dropdown #89
Comments
Hi. Can you post the log of the exception? Thanks |
No Exception. Just "App Quit" Dialog. :/ |
You can use the monitor or ddms of the android sdk tools to see the native logs. |
|
I've never used a dropdown on a Tabgroup which seems to be the problem. I'm going to test this soon but from the logs it does not appear to be a bug in the abx module. I'm not able to tell you the exact reason for this ecxeption before I've tested this but I can think of a possible reason. |
Thanks for investigating this. |
I'm afraid that we'll have to deprecate the dropdown since The way to solve it would be using a Spinner within the Toolbar (see here) but this requires Toolbar support on Titanium side. |
If you think of the idea again that the dropdown as a navigation mode actually is meant to be a replacement for the Tabs, then the reason for the error that occured in your example is that you have 3 Tabs but only 2 Dropdown items. It won't crash if you pass an array of 3 dropdown items but this probably also breaks your logic. I'll close this and suggest: do not use TabGroup and Dropdown together. (This will be resolved when Toolbar is supported) |
OK. No problem, Thanks for checking the issue out (Maybe add it to the module description :) ) |
I try to add the dropdownmenu to the ActionBar
After that the App Crashes.
Adding buttons to the menu works perfectly.
Android 5
TI SDK: Tryed 4.1.1.GA and 5.0.2.GA
The text was updated successfully, but these errors were encountered: