3 repositorios
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 es un controlador de desplazamiento de listas de Android y un ayudante de ajuste (snap helper) de RecyclerView diseñado para gestionar la velocidad de desplazamiento y alinear los elementos de la lista con los bordes específicos del contenedor. Funciona como un mecanismo de posicionamiento para garantizar que los elementos se ajusten a los límites de la ventana gráfica cuando se detiene la interacción del usuario. El proyecto proporciona soporte específico para direcciones de diseño de derecha a izquierda, asegurando que los elementos de la lista se alineen correctamente con los bordes de la pantalla independientemente de la dirección del idioma del dispositivo. La herramienta incluye capacidades para regular el movimiento de desplazamiento, como restringir las distancias de lanzamiento (fling) utilizando desplazamientos de píxeles o porcentajes del contenedor. También monitorea la velocidad de desplazamiento para determinar cuándo los elementos deben activar una transición al siguiente objetivo de ajuste.
Implements mechanisms to align a scrolling list item to the viewport boundary upon release.