Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-964

Support AndroidView in addition to View as child of AlertDialog

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: Alloy 1.5.0
    • Component/s: XML
    • Environment:

      Alloy 1.3.1, TiSDK 3.1.2.GA

    • Story Points:
      5
    • Sprint:
      2014 Sprint 14 Alloy

      Description

      While the API name is AndroidView, Alloy expects child views of AlertDialog to be created with the View tag. It throws an error that Ti.UI.createAndroidView is not a valid method name if you use AndroidView. While it's okay to support View as a shorthand, we should also support AndroidView as a tag.

      Reference: http://developer.appcelerator.com/question/163125/cannot-getset-textfield-value-in-alloy#answer-275881

      Test case attached with commented-out working code that uses View.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skypanther Tim Poulsen
                Reporter:
                skypanther Tim Poulsen
                Tester:
                Federico Casali
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration