[ALOY-313] Use applyProperties to assign properties to Ti.Android.MenuItem in parser
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Low |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2013-01-22T03:44:23.000+0000 |
| Affected Version/s | 2012 Sprint 20 |
| Fix Version/s | Alloy 1.0.0, 2013 Sprint 02 |
| Components | Runtime, XML |
| Labels | n/a |
| Reporter | Tony Lukasavage |
| Assignee | Unknown |
| Created | 2012-09-29T21:57:52.000+0000 |
| Updated | 2018-03-07T22:25:44.000+0000 |
Description
Be sure to check whether applyProperties is available before using, as it will only be there in TiSDK 3.0.0+
Note that most menu item properties (all the ones you want to set?) can now be set directly in the Menu.add command: https://github.com/appcelerator/titanium_mobile/pull/3208