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-10344: Android: Implement applyProperties({}) method on Ti.UI objects to take a list of json properties as is done at create time #2749

Merged
merged 2 commits into from Aug 15, 2012

Conversation

pingwang2011
Copy link
Contributor

if (arg instanceof HashMap) {
HashMap props = (HashMap) arg;
for (Object name : props.keySet()) {
setPropertyAndFire((String) name, props.get(name));
Copy link
Contributor

Choose a reason for hiding this comment

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

Either use name.toString() or catch a casting exception

@vishalduggal
Copy link
Contributor

Code Reviewed. Please address comments.

@vishalduggal
Copy link
Contributor

Code Reviewed. ACCEPTED

@vishalduggal
Copy link
Contributor

FR passed. ACCEPTED

vishalduggal added a commit that referenced this pull request Aug 15, 2012
timob-10344: Android: Implement applyProperties({}) method on Ti.UI objects to take a list of json properties as is done at create time
@vishalduggal vishalduggal merged commit cf6c9aa into tidev:master Aug 15, 2012
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.

None yet

2 participants