All Projects → aillieo → UnityDynamicScrollView

aillieo / UnityDynamicScrollView

Licence: MIT license
Dynamic scrollView based on UGUI

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to UnityDynamicScrollView

Overscroll Decor
Android: iOS-like over-scrolling effect applicable over almost all scrollable Android views.
Stars: ✭ 2,671 (+1559.01%)
Mutual labels:  listview, scrollview, gridview
Flutter Layouts Exampls
Layout of the flutter example.such as Row,Comlun,listview,Just for learning.
Stars: ✭ 292 (+81.37%)
Mutual labels:  listview, gridview
react-native-dual
ScrollView, FlatList, SectionList and ListView with dual background
Stars: ✭ 28 (-82.61%)
Mutual labels:  listview, scrollview
React Native Ultimate Listview
A high performance FlatList providing customised pull-to-refresh | auto-pagination & infinite-scrolling | gridview layout | swipeable-row.
Stars: ✭ 497 (+208.7%)
Mutual labels:  listview, gridview
react-native-gridview
A React Native component that renders a grid of items. It uses ListView under the hood.
Stars: ✭ 16 (-90.06%)
Mutual labels:  listview, gridview
android-page
android 分页列表数据加载引擎,主要封装了android分页列表数据加载的各个组件,如果你有一个需要分页加载的List列表,都可以使用此框架实现。
Stars: ✭ 15 (-90.68%)
Mutual labels:  listview, gridview
Adapter
A quick adapter library for RecyclerView, GridView, ListView, ViewPager, Spinner
Stars: ✭ 376 (+133.54%)
Mutual labels:  listview, gridview
jh-weapp-demo
微信小程序项目- 实现一些常用效果、封装通用组件和工具类
Stars: ✭ 60 (-62.73%)
Mutual labels:  listview, gridview
React Native Sortable List
React Native Sortable List component
Stars: ✭ 678 (+321.12%)
Mutual labels:  listview, scrollview
Swipemenu
[DEPRECATED] A swipe menu for horizontal/vertical, support left/right and top/bottom directions
Stars: ✭ 817 (+407.45%)
Mutual labels:  listview, scrollview
Placeholderview
This library provides advance views for lists and stacks. Some of the views are build on top of RecyclerView and others are written in their own. Annotations are compiled by annotation processor to generate bind classes. DOCS -->
Stars: ✭ 2,104 (+1206.83%)
Mutual labels:  listview, gridview
Ultimaterefreshview
UltimateRefreshView 实现下拉刷新,上拉加载更多的轻量级库;支持RecyclerView ,ListView ,ScrollView & WebView
Stars: ✭ 64 (-60.25%)
Mutual labels:  listview, scrollview
Imageviewer
🔮图片浏览器,支持图片手势缩放、拖拽等操作,`自定义View`的模式显示,自定义图片加载方式,更加灵活,易于扩展,同时也适用于RecyclerView、ListView的横向和纵向列表模式,最低支持版本为Android 3.0及以上...
Stars: ✭ 363 (+125.47%)
Mutual labels:  listview, gridview
Superadapter
[Deprecated]. 🚀 Adapter(BaseAdapter, RecyclerView.Adapter) wrapper for Android. 一个Adapter同时适用RecyclerView、ListView、GridView等。
Stars: ✭ 638 (+296.27%)
Mutual labels:  listview, gridview
React Native Super Grid
Responsive Grid View for React Native
Stars: ✭ 971 (+503.11%)
Mutual labels:  listview, gridview
Countdowntask
⌛️A countdown library for Android.
Stars: ✭ 64 (-60.25%)
Mutual labels:  listview, gridview
Commonadapter
一个适用于ListView/GridView/RecyclerView的Adapter库,简化大量重复代码,支持多种布局,可自定义图片加载的实现。
Stars: ✭ 219 (+36.02%)
Mutual labels:  listview
React Native Cell Components
Awesome react-native cell components! From a Cell to more complex & awesome components.
Stars: ✭ 177 (+9.94%)
Mutual labels:  listview
Advancedlist
Advanced List View for SwiftUI with pagination & different states
Stars: ✭ 165 (+2.48%)
Mutual labels:  listview
Shswiperefreshlayout
Android 升级版 SwipeRefreshLayout,支持RecyclerView、ScrollView等大部分组件,下拉刷新(Refresh)和上拉加载(Loadmore),支持自定义HeaderView和FooterView
Stars: ✭ 236 (+46.58%)
Mutual labels:  listview

ScrollView

基于UGUI的动态滚动列表,主要支持以下功能:

  1. 继承自UGUI的SrollRect,支持ScrollRect的所有功能;

  2. 使用对象池来管理列表元素,以实现列表元素的复用;

  3. 支持一行多个元素或一列多个元素;

  4. 可使用不同尺寸的列表元素;

  5. 列表数据变化后动态刷新列表元素;

用法详见工程中附带的示例,场景Scene中的Canvas1及脚本TestScript

test.gif

ScrollViewEx

当item数量巨大时,可以使用ScrollViewEx

ScrollViewEx继承了ScrollView的所有功能,并进行了针对性的优化,它会对item进行分页,设置适当的页面尺寸可以得到更好的性能表现,详见场景Scene中的Canvas2,及脚本TestLargeAmount.cs

以下是当有50000个item时使用ScrollViewScrollViewEx,并指定页面尺寸30:

test2.gif

当随机地添加、删除数据或随机跳转时二者耗时:

test3.png


ScrollView

A DynamicScrollView component based on UGUI that has the following features:

  1. Extented from SrollRect(UGUI class), so supports all the functions of ScrollRect;

  2. Scroll items are managed by an object pool so they can be recycled and reused;

  3. More than one items in one row (or column) is supported;

  4. Items can have different sizes;

  5. Items can be updated when scrollview data change;

For more details please run the test case: active Canvas1 in Scene and play or read TestScript.

test.gif

ScrollViewEx

When there is a large number of items, ScrollViewEx is recommended.

ScrollViewEx inherits all the features of ScrollView and is optimized for handling massive items by pagination. An appropriate pageSize will result in better performance, see Canvas2 in scene Scene and script TestLargeAmount.cs for details.

The following case shows that a ScrollView and a ScrollViewEx are both working with 50000 items and the latter has a pageSize of 30:

test2.gif

The time cost for random add/remove/scrollTo operation:

test3.png

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].