Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

scrolling widget batshit insane on android
Started by stan8 Sep 19 2012 01:35 AM

29 replies to this topic
[TOPIC CONTROLS]
Page 2 of 2 1 2
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

Danny

[GLOBAL: userInfoPane.html]
Danny
  • Corona Geek

  • 2,597 posts
  • Corona Staff

@vovasoft, the new/updated scrollView hasn't been released yet.
uid: 84637 topic_id: 31144 reply_id: 143202


[TOPIC: post.html]
#27

vovasoft

[GLOBAL: userInfoPane.html]
vovasoft
  • Contributor

  • 131 posts
  • Corona SDK

Yes I know, We are waiting but until then there was a fix for the old widget.scrollView in build 2012.962 I think:
Merge widget: (1) Fixes casenums: 18538, 18537, 18503. (2) Fixes issues where widgets would be created with a center reference point when setting left/top values instead of a top left reference point. (3) Fixes issues where moving widgets to a different position than initial creation position could result in calculations reporting incorrectly.
If you see the https://github.com/ansca/Scroll-View by gilbert when is scrolled there is a "move" event dispatched. How could I have the same think in widget.scrollView because there is no "move" event, just "scroll began" and "scroll ended".
uid: 138389 topic_id: 31144 reply_id: 143208


[TOPIC: post.html]
#28

Danny

[GLOBAL: userInfoPane.html]
Danny
  • Corona Geek

  • 2,597 posts
  • Corona Staff

The new scrollView gives you "began", "moved" and "ended" events.

I haven't looked at the old widget code in over 3 months so any answer I could give you might not be 100% correct.
uid: 84637 topic_id: 31144 reply_id: 143209


[TOPIC: post.html]
#29

vovasoft

[GLOBAL: userInfoPane.html]
vovasoft
  • Contributor

  • 131 posts
  • Corona SDK

Resolved: There was a return true in some place. Now it is working.
You said a new scrollView is coming soon. Will it be an update of acttual widget.scrollView or it will be a native scrollView ?
uid: 138389 topic_id: 31144 reply_id: 143213


[TOPIC: post.html]
#30

Danny

[GLOBAL: userInfoPane.html]
Danny
  • Corona Geek

  • 2,597 posts
  • Corona Staff

It is simply a complete re-write of the scrollView. That goes for all widgets in the new widget library.
Hope this helps.
uid: 84637 topic_id: 31144 reply_id: 143215



[topic_controls]
Page 2 of 2 1 2
 
[/topic_controls]