Author Topic: UIScrollView add new items dynamically  (Read 5982 times)

elvess

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 44
    • View Profile
UIScrollView add new items dynamically
« on: April 23, 2015, 09:38:48 AM »
Hello!
In the scroll view we need to implement the next thing:
There are, for example, 20 items in UIScrollView. When I drag it to the end of the list it should call some function that will add some amount of new items to the end of the list. After dragging new list to the bottom it should add new amount again. And so on.

Is it possible to realize such a thing via NGUI?

Thank U.
Best regards,
Paul.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIScrollView add new items dynamically
« Reply #1 on: April 24, 2015, 07:46:17 AM »
Yes, that's exactly what the endless scroll view example does.

elvess

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 44
    • View Profile
Re: UIScrollView add new items dynamically
« Reply #2 on: April 24, 2015, 07:55:50 AM »
Oh. I see. Ill check for the example.

Thank U for the reply.

Best regards,
Paul.