{"id":3470,"url":"https://github.com/TakuSemba/MultiSnapRecyclerView","last_synced_at":"2025-08-03T20:32:40.279Z","repository":{"id":47730151,"uuid":"99017185","full_name":"TakuSemba/MultiSnapRecyclerView","owner":"TakuSemba","description":"Android library for multiple snapping of RecyclerView","archived":false,"fork":false,"pushed_at":"2021-03-19T09:59:42.000Z","size":48718,"stargazers_count":2507,"open_issues_count":6,"forks_count":303,"subscribers_count":52,"default_branch":"master","last_synced_at":"2024-11-30T22:02:05.689Z","etag":null,"topics":["android","java","library","snap","ui"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TakuSemba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-01T15:39:13.000Z","updated_at":"2024-11-17T19:03:17.000Z","dependencies_parsed_at":"2022-08-12T13:50:28.370Z","dependency_job_id":null,"html_url":"https://github.com/TakuSemba/MultiSnapRecyclerView","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakuSemba%2FMultiSnapRecyclerView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakuSemba%2FMultiSnapRecyclerView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakuSemba%2FMultiSnapRecyclerView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TakuSemba%2FMultiSnapRecyclerView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TakuSemba","download_url":"https://codeload.github.com/TakuSemba/MultiSnapRecyclerView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228567009,"owners_count":17937983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","java","library","snap","ui"],"created_at":"2024-01-05T20:16:42.409Z","updated_at":"2024-12-07T05:30:36.628Z","avatar_url":"https://github.com/TakuSemba.png","language":"Kotlin","readme":"# MultiSnapRecyclerView\n\n\u003cimg src=\"https://github.com/TakuSemba/MultiSnapRecyclerView/blob/master/arts/logo.png\"\u003e\n\n## Gradle\n\n```groovy\n\ndependencies {\n    implementation 'com.github.takusemba:multisnaprecyclerview:x.x.x'\n}\n\n```\n\u003cbr/\u003e\n\n\u003cimg src=\"https://github.com/TakuSemba/MultiSnapRecyclerView/blob/master/arts/gravity.gif\" align=\"right\" width=\"30%\"\u003e\n\n## Features\n![Build Status](https://app.bitrise.io/app/a27c356998242bdf/status.svg?token=13Mi9qAas0Zm81ono5VWRw\u0026branch=master)\n![Download](https://api.bintray.com/packages/takusemba/maven/multisnaprecyclerview/images/download.svg)\n![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)\n![API](https://img.shields.io/badge/API-13%2B-brightgreen.svg?style=flat)\n\nThis is an Android Library for multiple snapping of RecyclerView.\nMultiSnapRecyclerView easily provides a snapping feature to your recycler view. \nWhat this does are clean, neat, and powerful.\n\u003cbr/\u003e\n- [x] gravitated snapping to `start` `end` and `center`.\n- [x] `snap count` to specify the number of items to scroll over.\n- [x] supports horizontal and vertical scrolling.\n- [x] listener to be called when snapped.\n- [x] sample code.\n- [ ] support reverse layout.\n\n\u003cstrong\u003eMake sure to use LinearManger.\u003c/strong\u003e Other managers are not supported.\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\u003cimg src=\"https://github.com/TakuSemba/MultiSnapRecyclerView/blob/master/arts/snap_count.gif\" align=\"left\" width=\"30%\"\u003e\n\n## Usage\nThere are two ways to use MultiSnapRecyclerView.\n\nYou can either use MultiSnapRecyclerView in your layout.\n\n```xml\n\u003ccom.takusemba.multisnaprecyclerview.MultiSnapRecyclerView\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        app:msrv_gravity=\"start\" or center, end\n        app:msrv_interval=\"2\" items to scroll over\n        app:msrv_ms_per_inch=\"100\" /\u003e // speed of scrolling through.\n```\n\nOr you can simply attach MultiSnapHelper to your normal RecyclerView.\n\n```kt\nval multiSnapHelper = MultiSnapHelper(gravity, interval, speedMsPerInch)\nmultiSnapHelper.attachToRecyclerView(recyclerView)\n```\n\n\u003cbr/\u003e\n\n## Sample\nClone this repo and check out the [app](https://github.com/TakuSemba/MultiSnapRecyclerView/tree/master/app) module.\n\n## Author\n\n* **Taku Semba**\n    * **Github** - (https://github.com/takusemba)\n    * **Twitter** - (https://twitter.com/takusemba)\n    * **Facebook** - (https://www.facebook.com/takusemba)\n\n## Licence\n```\nCopyright 2017 Taku Semba.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","funding_links":[],"categories":["Libraries","Kotlin"],"sub_categories":["GUI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTakuSemba%2FMultiSnapRecyclerView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTakuSemba%2FMultiSnapRecyclerView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTakuSemba%2FMultiSnapRecyclerView/lists"}