3 Repos
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 ist ein Android-Controller für Listen-Scrolling und ein RecyclerView-Snap-Helper, der dazu dient, die Scroll-Geschwindigkeit zu verwalten und Listenelemente an bestimmten Container-Kanten auszurichten. Er fungiert als Positionierungsmechanismus, um sicherzustellen, dass Elemente an den Viewport-Grenzen einrasten, wenn die Benutzerinteraktion stoppt. Das Projekt bietet spezifische Unterstützung für Layout-Richtungen von rechts nach links (RTL), um sicherzustellen, dass Listenelemente unabhängig von der Sprachrichtung des Geräts korrekt an den Bildschirmrändern ausgerichtet werden. Das Tool enthält Funktionen zur Regulierung der Scroll-Bewegung, wie z. B. die Begrenzung von Fling-Distanzen mittels Pixel-Offsets oder Container-Prozentsätzen. Es überwacht zudem die Scroll-Geschwindigkeit, um zu bestimmen, wann Elemente einen Übergang zum nächsten Snap-Ziel auslösen sollen.
Implements mechanisms to align a scrolling list item to the viewport boundary upon release.