Skip to content

Conversation

@alinakazi
Copy link
Member

Created ListEvent.as file added to "https://github.com/alinakazi/royale-asjs/tree/mxRoyaleAQ"

ListEvent file added to the branch
@alinakazi alinakazi changed the title ListEvent.as ListEvent.as File Added Mar 30, 2018
@alinakazi alinakazi changed the title ListEvent.as File Added ListEvent.as and SliderEvent.as Files Added Apr 2, 2018
Update mx-royale-manifest.xml for ListEvent and SliderEvent
Copy link
Contributor

@aharui aharui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good, but Events and some other classes should be added to the SWC via MXRoyaleClasses.as instead of mx-royale-manifest.xml. The manifest is for components that you use in MXML as tags. I think some IDEs offer code completion based on manifests. ListEvent should not be offered as a possible MXML tag. ListEvent will be offered when writing AS code either way.

So for this pull request, mx-royale-manifest.xml should not have any modifications. MXRoyaleClasses.as should instead.

Updating MXRoyaleClasses.as for ListEvent and SliderEvent in mxRoyaleAQ Branch
Deletion of rows for SliderEvent and ListEvent
Copy link
Contributor

@aharui aharui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks right to me.

@aharui aharui merged commit 4d3994b into apache:feature/MXRoyale Apr 3, 2018
@aharui
Copy link
Contributor

aharui commented Apr 3, 2018

In the future, if you get public var warnings, consider whether the warning should be suppressed via @royalesuppresspublicvarwarning or the public var should become a getter/setter. It will depend on whether the class is used in handling server or other external data. I pushed changes to these classes as an example.

@carlosrovira carlosrovira added this to the v0.9.3 milestone Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants