Infinite scroll 2.0 for Unity

preview_player
Показать описание
Infinite Scroll is a script extension that allows you to use ScrollRect control as an infinite spinner. It is fast, simple and mobile-friendly way to make lists with thousands of rows.

Pull-to-refresh built-in function to load and append items to list, like iOS TableView.

Just put script to your ScrollRect, write callbacks and use.

Features:

* Custom items height!
* Easy, light, mobile-friendly, just one script
* List items are fully customizable to fit your project
* Dynamic, data-driven lists
* Efficient reusing of list items
* Optional Pull-to-refresh function
* Demos, tutorials and full C# source code are all included.

Рекомендации по теме
Комментарии
Автор

Thanks man, this helped me a lot! But at least in my project to the infinite scroll work with mouse wheel as well I had to change some of the code. In the UpdateVertical I changed: " if (position < 0 || _previousPosition == position || _scroll.velocity.y == 0f)
" for: " if (position < 0 || _previousPosition == position) ". I dont know if this can lead to a bug but so far it works fine. Anyway, thanks again for the extension!

marcosmourao
Автор

great job! but there is a problem, you have replaced only the text, but are there, for example, buttons or several lines of text? Is it possible to think in the direction of binding so that one can override InfiniteScroll and replace the moment of binding in which any data can be replaced

dudeevent