Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kivy-garden/garden.recycleview
DEPRECATED - Reboot of the Kivy ListView
https://github.com/kivy-garden/garden.recycleview
Last synced: about 1 month ago
JSON representation
DEPRECATED - Reboot of the Kivy ListView
- Host: GitHub
- URL: https://github.com/kivy-garden/garden.recycleview
- Owner: kivy-garden
- License: mit
- Created: 2015-03-26T22:40:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-16T08:08:05.000Z (over 8 years ago)
- Last Synced: 2023-03-30T18:40:19.390Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 1.06 MB
- Stars: 18
- Watchers: 13
- Forks: 9
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RecycleView
**This widget has been deprecated, use [kivy.uix.RecycleView](https://kivy.org/docs/api-kivy.uix.recycleview.html) instead.**
RecycleView is a Kivy widget that wants to replace the current ListView. The goal is to have an API that is easy to use, understand, and works within Kv.
This widget is under heavy work and API is still uncertain. Don't use unless you like experimentation.
## Concepts
- **Data**: List of dictionary containing the data you want to display.
- **View**: Widget instance used to display a data entry
- **Viewclass**: Widget class used to create a **View**## Features
- pre-calculate the container size and views positions to reduce calculation when scrolled.
- create views on the fly, only the one needed to fill the displayed area
- remove hidden views
- recycle hidden views instead of creating new one when possible## Examples
See the contacts demo:
export PYTHONPATH=$PWD:$PYTHONPATH
python examples/contacts/main.pyOr the wallimage demo:
export PYTHONPATH=$PWD:$PYTHONPATH
python examples/wallimage/main.py