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

removed isDragging check and added boolean dragging to event object #85

Closed

Conversation

tifu-zz
Copy link

@tifu-zz tifu-zz commented Mar 31, 2011

Hi there,

I removed the check for scrollView.isDragging on TableView so that it fires like you would expect it too, and added the boolean "dragging" to the event - which is inline with the "scroll" event on a ScrollView. This allows the "scroll" event to be fired when a TableView is scrolled, not just when being dragged. It also allows us to fix the "pull to refresh" issues on devices <= iPhone 3G

Thanks,

Brian

@dawsontoth
Copy link
Contributor

Note: btknorr has already signed the CLA.

@sptramer sptramer closed this Jun 28, 2011
@sptramer
Copy link
Contributor

I'm afraid we have to reject this request. It breaks parity with Android and would cause the "scroll" event to fire frequently, even when not dragging the view (a view "did" scroll whenever the displayed content within the frame changes, which could be very frequently; 'isDragging' checks "the user has begun scrolling the content", according to the iOS documentation).

However, we understand that this is an important feature requested by the community and will be evaluating an alternative to this solution in the near term.

jpl-mac referenced this pull request in jpl-mac/titanium_mobile Jun 29, 2012
TIMOB-9306: Blackberry: add a universal logging mechanism for tibb

[Issues Fixed]
TIMOB-9306: Blackberry: add a universal logging mechanism for tibb

[Added]
NativeLoggerInterface.h
NativeLoggerObject.cpp
NativeLoggerObject.h
NativeLoggerWorker.cpp
NativeLoggerWorker.h
NativeMessageStrings.cpp
NativeMessageStrings.h
TiLogger.cpp
TiLogger.h

[Changes]
NativeAbstractTextControlObject.cpp
- switched to use N_DEBUG

NativeObject.h
- added N_TYPE_LOGGER
- removed old Ti_DEBUG

NativeObjectFactory.cpp
- added N_TYPE_LOGGER

TiUITableView.cpp
- switched to use Ti_DEBUG

TitaniumRuntime.cpp
- initialize TiLogger

Moved debug strings to central location
Removed unused function TitaniumRuntime::Log
Also moved the Native strings into NativeMessageStrings.h

[Tests]
Test 1: Use logger
1) Put some Ti_DEBUG and N_DEBUG statements in the code that will be run
2) Build tibb and verify there are no errors
3) Create, build, and run a new project
4) Verify the logging statements are in the app's log and are not intermingled
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

4 participants