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-13055: Added row property for additional tableview events. #4039

Merged
merged 3 commits into from
Apr 1, 2013

Conversation

ayeung
Copy link
Contributor

@ayeung ayeung commented Mar 26, 2013

https://jira.appcelerator.org/browse/TIMOB-13055

Test case in Jira. Please also run docgen and validate on docs.

@ghost ghost assigned vishalduggal Mar 26, 2013
@vishalduggal
Copy link
Contributor

FR Failed. When I click on the row I am getting the source property for touchstart and touchend as the tableView instead on the tableViewRow.

Also what is the rationale of doing this in the tableView. Since all events bubble through the row proxy, wouldn't it be easier to just fill the data in the rowProxy?

@ayeung
Copy link
Contributor Author

ayeung commented Mar 29, 2013

Code updated. Ready for review.

Item item = getTableView().getTableView().getItemAtPosition(index);
dataCopy.put(TiC.PROPERTY_SOURCE, item.proxy);
return item.proxy.fireEvent(eventName, dataCopy, bubbles);
}
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Missing super.fireEvent().
If the event comes here bit does not belong to a tableViewrow/section (Say longpress on headerView) we should still fire the event)

Copy link
Contributor

Choose a reason for hiding this comment

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

Ignore.

@vishalduggal
Copy link
Contributor

CR and FR ok. validate and docgen passed. APPROVED

vishalduggal added a commit that referenced this pull request Apr 1, 2013
TIMOB-13055: Added row property for additional tableview events.
@vishalduggal vishalduggal merged commit d6edf85 into tidev:master Apr 1, 2013
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