Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-4601

Hyperloop Android - can't access enum values

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Needs more info
    • Affects Version/s: Appcelerator Studio 4.5.0
    • Component/s: Hyperloop
    • Environment:

      SDK 6.0.0 Beta
      Hyperloop 2.0.0

      Description

      I'm trying to access a Java enum. If I execute the code below my app crashes.
      Techniques is just a simple enum provided with an android lib that I'm trying to use.

      Ti.API.error(Techniques.values()[0].getAnimator());
      

      This is the error

      Uncaught TypeError: Cannot read property 'getAnimator' of undefined
      

      This happens with any enum. The code above works normally on native code.

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain (Inactive)
              Reporter:
              rdperottoni Rodolfo Perottoni
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration