Titanium JIRA Archive
Alloy (ALOY)

[ALOY-934] Change androidView behavior for optionDialog and similar components

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2014-07-16T19:07:11.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.5.0
ComponentsXML
Labelsqe-manualtest
ReporterTim Poulsen
AssigneeTim Poulsen
Created2014-01-22T20:09:06.000+0000
Updated2014-08-13T22:41:30.000+0000

Description

We need to change the androidView behavior for optionDialog (and any other components that support an Android-specific view as a child) so that an AndroidView proxy parser is used rather than creating an arbitrary view. Need also to communicate the change, as it deprecates old behavior. Instead of an anroidView being assigned like this:
<OptionDialog>
    <View/>
</OptionDialog>
It should instead be like this, like the rest of the generic view proxy properties:
<OptionDialog>
    <AndroidView>
        <View/>
    </AndroidView>
</OptionDialog>

Comments

  1. Tim Poulsen 2014-07-16

    PR: https://github.com/appcelerator/alloy/pull/485 Test app: https://github.com/skypanther/alloy/blob/ALOY-934/test/apps/testing/ALOY-934 Functional test: build the app for Android, click the label. You should get an option dialog with a label (that's inside an tag)

JSON Source