{"id":3469,"url":"https://github.com/prashantsolanki3/Snap-RecyclerView-Utils","last_synced_at":"2025-08-03T20:32:23.266Z","repository":{"id":87635133,"uuid":"47451423","full_name":"prashantsolanki3/Snap-RecyclerView-Utils","owner":"prashantsolanki3","description":"No need to implement an Adapter for every RecyclerView. Snap Adapters initializes in a single line and comes with endless loader and multiple layout.","archived":false,"fork":false,"pushed_at":"2016-12-08T16:12:26.000Z","size":376,"stargazers_count":72,"open_issues_count":2,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-25T22:33:46.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://prashantsolanki3.github.io/Snap-RecyclerView-Utils/","language":"Java","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/prashantsolanki3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-12-05T10:19:01.000Z","updated_at":"2024-04-19T19:52:44.000Z","dependencies_parsed_at":"2024-01-02T21:20:26.737Z","dependency_job_id":null,"html_url":"https://github.com/prashantsolanki3/Snap-RecyclerView-Utils","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantsolanki3%2FSnap-RecyclerView-Utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantsolanki3%2FSnap-RecyclerView-Utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantsolanki3%2FSnap-RecyclerView-Utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantsolanki3%2FSnap-RecyclerView-Utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashantsolanki3","download_url":"https://codeload.github.com/prashantsolanki3/Snap-RecyclerView-Utils/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":[],"created_at":"2024-01-05T20:16:42.383Z","updated_at":"2024-12-07T05:30:31.261Z","avatar_url":"https://github.com/prashantsolanki3.png","language":"Java","funding_links":[],"categories":["Libraries"],"sub_categories":["GUI"],"readme":"# Snap RecyclerView Utils\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Snap--RecyclerView--Utils-brightgreen.svg?style=flat-square)](https://android-arsenal.com/details/1/2884)\n[![Travis CI](https://travis-ci.org/prashantsolanki3/Snap-RecyclerView-Utils.svg)](https://travis-ci.org/prashantsolanki3/Snap-RecyclerView-Utils)\n\nSimple Library to create RecyclerView Adapters and Viewholder in a snap.\n\n## Features\n\n* Simple RecyclerView Adapter\n* Multiple Layouts RecyclerView Adapter\n* Endless Loader\n* Alternate View Support\n* Automatic Empty RecyclerView Layout Handling\n* Adapter based OnItemClickListener\n\n## Add to your project\n\n[![Release](https://img.shields.io/github/release/prashantsolanki3/Snap-RecyclerView-Utils.svg?label=jitpack)](https://jitpack.io/#prashantsolanki3/Snap-RecyclerView-Utils)\n\n###[Check out v2 Beta!](https://github.com/prashantsolanki3/Snap-RecyclerView-Utils/releases)\n\nAdd JitPack to repositories in your project's root `build.gradle` file:\n\n```Gradle\nallprojects {\n\trepositories {\n\t\t...\n\t\tmaven { url \"https://jitpack.io\" }\n\t}\n}\n```\n\nAdd the dependency to your module's `build.gradle` file:\n\n```Gradle\ndependencies {\n\t...\n    compile 'com.github.prashantsolanki3:Snap-RecyclerView-Utils:v1.8'\n}\n```\n\n---\n\n## Usage\n\n###[Check out the wiki!](https://github.com/prashantsolanki3/Snap-RecyclerView-Utils/wiki)\n\nMake a `ViewHolder` which extends `SnapViewHolder`.\n\n```Java\nSnapAdapter\u003cSimpleProduct, ViewHolderProduct\u003e adapterRecycler = new SnapAdapter\u003c\u003e(\n\tgetContext(), //Context\n\tSimpleProduct.class, //Model class, matching generic type\n        R.layout.item_recycler_product, // Item Layout\n        ViewHolderProduct.class); // ViewHolder class, matching generic type\n                \nrecyclerView.setAdapter(adapterRecycler);\n\n//Add items to RecyclerView\nadapterRecycler.addAll(new ArrayList\u003cSimpleProduct\u003e());\n```\n### Yeah That's All!\n\n***\n\n##Contribute\n\nContribute by creating issues (tagged enhancement, bugs) in the repo or create a pull request.\n\n##Using Snap RecyclerView Utils? \n\nIf you are using Snap RecyclerView Utils in your app and would like to be listed here, please let us know opening a new issue!\n\n###License\n\nCopyright 2015 Prashant Solanki\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantsolanki3%2FSnap-RecyclerView-Utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashantsolanki3%2FSnap-RecyclerView-Utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantsolanki3%2FSnap-RecyclerView-Utils/lists"}