Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.py

Or the wallimage demo:

export PYTHONPATH=$PWD:$PYTHONPATH
python examples/wallimage/main.py