An incubating UI helper for Vertical, Horizontal, and 2D scrolling similar to Recycler and Tree views.
. Pre-measures the size and position of UI layouts on the screen.
. Uses an asynchronous process that continuously fetches views closest to the current scroll position and binds their data to view containers.
Example mapping of views to containers around the scroll position:
V0
V1
V2 -> C0
V3 -> C1 <- scroll position
V4 -> C3
V5
V6
V7
V8
V9
Because view data (such as text and images) is stored in an array separate from the UI elements, the library supports large data sets while maintaining features such as sorting, filtering, and changing the scroll mode.
An "Experiemental" view mode enables scrolling without relying on the native Android UI library. Instead it is performed by monitoring swipe gestures
and re-computing view positions on each pass. It is under development with the eventual aim of transpiling the code onto a device without a traditional OS -
for example, a low-cost, secure device that presents very large scroll view of expandable layouts.