3 repository-uri
Mechanisms that align a scroll view to the center of an item upon release.
Distinguishing note: Candidates are for grid snapping or data similarity, not scroll-to-item snapping.
Explore 3 awesome GitHub repositories matching user interface & experience · Scroll Snapping. Refine with filters or upvote what's useful.
This project is a cross-platform mobile carousel component for creating swipeable image and content sliders. It functions as a virtualized list component that maintains performance by removing off-screen elements and utilizes a native-driver animation library to map scroll offsets to style properties on the native thread for lag-free transitions. The library provides a parallax image gallery capable of shifting images relative to scroll progress to create a sense of depth. It also features a layout system that supports right-to-left orientations for languages such as Arabic and Hebrew. Capab
Aligns the interface to the center of the nearest item when the user releases their touch.
Epoxy is an Android library for building complex RecyclerView screens using a model-driven approach. It generates RecyclerView adapter models at compile time from annotated custom views, data binding layouts, or view holders, eliminating the manual boilerplate typically associated with view holders and adapters. The library provides a diffing engine that automatically compares model lists and applies minimal updates with animations for insertions, removals, and moves. The library distinguishes itself through its controller-based model building, where a controller class with a buildModels meth
Attaches a snap helper to align carousel items cleanly when scrolling stops, with customization options.
GravitySnapHelper este un controller de scroll pentru liste Android și un snap helper pentru RecyclerView, conceput pentru a gestiona viteza de scroll și a alinia elementele listei la marginile specifice ale containerului. Acesta funcționează ca un mecanism de poziționare pentru a asigura că elementele se aliniază la limitele viewport-ului atunci când interacțiunea utilizatorului se oprește. Proiectul oferă suport specific pentru direcțiile de layout de la dreapta la stânga (RTL), asigurându-se că elementele listei se aliniază corect la marginile ecranului, indiferent de direcția limbii dispozitivului. Instrumentul include capabilități pentru reglarea mișcării de scroll, cum ar fi restricționarea distanțelor de fling folosind decalaje de pixeli sau procente din container. De asemenea, monitorizează viteza de scroll pentru a determina când elementele ar trebui să declanșeze o tranziție către următorul punct de snap.
Implements mechanisms to align a scrolling list item to the viewport boundary upon release.