- Home /
Question by
bastianmeyerbm3 · Sep 04, 2018 at 04:45 AM ·
uiguiscrollview
ScrollRect (Elastic) wait to scroll back to Start
Hi,
Can i achieve something like this?
So the ScrollRect is waiting to Scroll back to the top? I got the code that triggers when the Scrollrect gets pulled down for refresh, but i dont know how to keep the ScrollRect in that position.
Comment
Answer by misher · Sep 04, 2018 at 12:56 PM
Basically, you need to translate your rect down till update is finished, then you can translate it back (with maybe some smoothing)
But i dont get how i can delay the scrolling back or is the thing i want to do not possible?
I suppose you should not "delay" but "wait" till fetch data is completed...
okay thats what i meant off course, but i dont know how to realize it in code if i am honest.