Author Topic: Circular/Endless/Infinite ScrollView  (Read 9015 times)

chetanmrane

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 13
    • View Profile
Circular/Endless/Infinite ScrollView
« on: January 08, 2013, 01:48:33 AM »
Hi All,

I have successfully implement scrollview using NGUI, but is there any way to make it endless.
I want my scrollview to be circular.
is it possible?

can somebody help me?

cayou

  • Jr. Member
  • **
  • Thank You
  • -Given: 3
  • -Receive: 3
  • Posts: 90
    • View Profile
Re: Circular/Endless/Infinite ScrollView
« Reply #1 on: January 08, 2013, 09:18:45 AM »
I developed an infinite scrollview using Unity GUI, it was so painful, I'll never do this again.
And I was also looking for an infinite scrollview, but it could change the way the scrollview provides the scrolling.
Actually, the UIPanel is moving to the direction of the mouse dragging, and the clipping panel (if clipping is activated) is moving to the opposite way to "create" the visual effect of scrolling. I don't know how it can be modified to implement infinite scrolling. This is why, I guess, it's not yet implemented.

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Circular/Endless/Infinite ScrollView
« Reply #2 on: January 09, 2013, 04:27:00 AM »
In order to make the visual effect of scrolling on the panel, you could use this http://www.tasharen.com/forum/index.php?topic=2685.0, to scroll the Texture instead of scrolling the panel itself.

For the items, keep a static list of items, when they are out of the screen, recycle them and add them to the entry of the scrollview (depending on the direction of scroll) and map them with the data.

I will need this kind of Infinie scroll view, I may develop one.
Graphicstream Dev.

eucryptic

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 27
    • View Profile
Re: Circular/Endless/Infinite ScrollView
« Reply #3 on: May 13, 2013, 10:25:54 PM »
Did you end up implementing this? Could you share some of your insights and maybe code snippets?