{"id":13735241,"url":"https://github.com/MalikDE/NestedRecyclerView","last_synced_at":"2025-05-08T11:32:46.880Z","repository":{"id":201543258,"uuid":"101690127","full_name":"MalikDE/NestedRecyclerView","owner":"MalikDE","description":"Improve the scroll angle when 2 recyclers views are nested : a recycler view that contains other recycler views, just like the Play Store.","archived":false,"fork":false,"pushed_at":"2020-05-12T07:00:35.000Z","size":3279,"stargazers_count":30,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T03:04:45.343Z","etag":null,"topics":["android","kotlin","kotlin-android","layoutmanager","library","nested","recyclerview","ui","ux"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MalikDE.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}},"created_at":"2017-08-28T21:36:06.000Z","updated_at":"2024-02-16T05:47:58.000Z","dependencies_parsed_at":"2024-03-04T20:50:22.442Z","dependency_job_id":null,"html_url":"https://github.com/MalikDE/NestedRecyclerView","commit_stats":null,"previous_names":["malikde/nestedrecyclerview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalikDE%2FNestedRecyclerView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalikDE%2FNestedRecyclerView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalikDE%2FNestedRecyclerView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MalikDE%2FNestedRecyclerView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MalikDE","download_url":"https://codeload.github.com/MalikDE/NestedRecyclerView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224727173,"owners_count":17359532,"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","kotlin","kotlin-android","layoutmanager","library","nested","recyclerview","ui","ux"],"created_at":"2024-08-03T03:01:04.631Z","updated_at":"2024-11-15T03:31:37.823Z","avatar_url":"https://github.com/MalikDE.png","language":"Kotlin","readme":"## Improve scroll in nested Recycler Views\nThis piece of code aims to improve the scroll angle when 2 recyclers views are nested : a recycler view that contains other recycler views, just like the Play Store.\n\nThe objective is to change the scroll angle in the Parent Recycler View and override the onInterceptTouchEvent method. When this method return `false`, the parent recycler view will not get the touch event. Instead, the \nevent will be dispatched to the underlying child view (another recycler view)\n\n### Classic\nThe classic implementation seems to be less than 45° to allow an horizontal scroll.  \n\u003cimg src=\"https://raw.githubusercontent.com/MalikDE/NestedRecyclerView/master/doc/img/classic.gif\" width=\"300\"\u003e\n\n### Improved\nIn the example bellow, angle is customized up to 70 degrees.  \n\u003cimg src=\"https://raw.githubusercontent.com/MalikDE/NestedRecyclerView/master/doc/img/imp.gif\" width=\"300\"\u003e\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Android"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMalikDE%2FNestedRecyclerView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMalikDE%2FNestedRecyclerView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMalikDE%2FNestedRecyclerView/lists"}