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-4260 add support for leftView and rightView for map annotation #105

Merged
merged 2 commits into from
Jun 6, 2011
Merged

TIMOB-4260 add support for leftView and rightView for map annotation #105

merged 2 commits into from
Jun 6, 2011

Conversation

rusticphilosopher
Copy link
Contributor

No description provided.

private ImageView leftImage;
private ImageView rightImage;
private TiCompositeLayout leftPane;
private TiCompositeLayout rightPane;
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it be more efficient to use a generic "View" here, and assign the Image / custom View instead of having a wrapper layout?

@billdawson
Copy link
Contributor

functional test okay

billdawson added a commit that referenced this pull request Jun 6, 2011
TIMOB-4260 add support for leftView and rightView for map annotation
@billdawson billdawson merged commit 8c13c16 into tidev:master Jun 6, 2011
jpl-mac referenced this pull request in jpl-mac/titanium_mobile Jul 17, 2012
Reviewer: DaveC

Depends on PR Macadamian#105

Also fixed in this patch
TIMOB-9545 BlackBerry: Implement Proxy

This patch implements the fireEvent functionality and moves it's implementation to TiProxy along with add/removeEventListener to match the documented structure and have them inherited by all inherited Titanium types

Changelog:
- framework path implemented for fireEvent
- Added EventPair struct to store the event container and handler for an event
- Track events in the NativeObject class
- Moved implementation to NativeObject and tested that event handling works well
- Made the nextEventId to be global for all events of the system and not per NativeObject
- moved fireEvent, add/removeEventListener to TiProxy
- applied changes to all NativeObjects that currently have event handling
- added support to delete the static singleton instances in Logger and String interfaces
- removed compiler warnings in NativeControlObject and NativeObject
- No apidoc needed, all of Proxy is now implemented and inherited in all other modules' yml

Tests: Tested on simulator
- add event listener for known event on objects that already handle events
- then call fireEvent with a hardcoded event
==> verified that the event listener is invoked, events can also be chained in that way

*NOTE: also tested with custom events, but these are currently not supported and support will need to be added as a separate task.  Jira issue created https://jira.appcelerator.org/browse/TIMOB-9980
jpl-mac referenced this pull request in jpl-mac/titanium_mobile Jul 18, 2012
TIMOB-9971: BlackBerry: Complete 'remove' method in UI View
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

3 participants