Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-24817] Android: Implement ListView Alloy widget support #9955

Merged
merged 9 commits into from Jul 30, 2018

Conversation

garymathews
Copy link
Contributor

@garymathews garymathews commented Mar 22, 2018

REQUIRES tidev/alloy#892
  • Implement ability to use Alloy widgets in Titanium.UI.ListView

JIRA Ticket

@sgtcoolguy sgtcoolguy modified the milestones: 7.2.0, 7.3.0 May 16, 2018
@jquick-axway jquick-axway self-requested a review May 16, 2018 23:24
Copy link
Contributor

@jquick-axway jquick-axway left a comment

Choose a reason for hiding this comment

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

CR: Pass

@sgtcoolguy sgtcoolguy modified the milestones: 7.3.0, 7.4.0 May 23, 2018
@sgtcoolguy
Copy link
Contributor

Holding to 7.4.0 to give iOS team time to do equivalent ticket: https://jira.appcelerator.org/browse/TIMOB-24776

cc @hansemannn

@sgtcoolguy sgtcoolguy added the hold for parity ✋ This PR should not be merged until an equivalent PR is ready for the other platform(s) label Jun 19, 2018
// handle Alloy widgets
} else {
const widget = Module.main.require('/alloy/widgets/' + namespace + '/controllers/widget');
if (widget) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should handle plain CommonJS modules here as well? For iOS, we use a fallback case to do this. We require common-js modules to export a view via getView as well, which is a suitable requirement to have a formal way of knowing where the main view was exported.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@garymathews Ping! The iOS PR was just merged.

@hansemannn hansemannn added work in progress 🚧 and removed hold for parity ✋ This PR should not be merged until an equivalent PR is ready for the other platform(s) in-qe-testing 🕵 labels Jul 19, 2018
@garymathews
Copy link
Contributor Author

Updated PR.

@build
Copy link
Contributor

build commented Jul 30, 2018

Messages
📖

💾 Here's the generated SDK zipfile.

Generated by 🚫 dangerJS

@hansemannn hansemannn merged commit 0dc98f4 into tidev:master Jul 30, 2018
} else {
let widget = Module.main.require('/alloy/widgets/' + namespace + '/controllers/widget');
if (!widget) {
Module.main.require(namespace);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the assignment is missing here? Also, this does not seem to work with native modules.

@hansemannn hansemannn modified the milestones: 7.4.0, 7.5.0 Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants