Author Topic: Infinite scrollView  (Read 4000 times)

mimmog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
Infinite scrollView
« on: January 13, 2015, 12:16:12 PM »
I want to create a scrollview that contain a text that scroll to the top automatically. But I also want that I can scroll it with a finger but when I not touch it must scroll up automatically and when it finishes it should start again. It' possible ? How can I do this ?
« Last Edit: January 13, 2015, 12:22:45 PM by mimmog »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Infinite scrollView
« Reply #1 on: January 13, 2015, 05:10:29 PM »
SpringPanel.Begin can be used to move your scroll view to a specific position. You can also set UIScrollView's SetDragAmount to the value of your choice.

mimmog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 32
    • View Profile
Re: Infinite scrollView
« Reply #2 on: January 13, 2015, 06:04:42 PM »
I must use SpringPanel.Begin for auto scrolling and UIScrollView with SetDragAmount for touch scroll? And for looping how can I use ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Infinite scrollView
« Reply #3 on: January 14, 2015, 08:41:44 PM »
SpringPanel.Begin moves the scroll view smoothly to the target position. SetDragAmount moves it immediately. Either way there is no looping involved.