{"id":18465140,"url":"https://github.com/natario1/nestedscrollcoordinatorlayout","last_synced_at":"2025-04-12T16:43:22.302Z","repository":{"id":44478079,"uuid":"88929870","full_name":"natario1/NestedScrollCoordinatorLayout","owner":"natario1","description":"A CoordinatorLayout that implements nested scrolling and propagates scroll events to parent views.","archived":false,"fork":false,"pushed_at":"2024-09-23T15:30:20.000Z","size":71,"stargazers_count":63,"open_issues_count":3,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T11:53:33.027Z","etag":null,"topics":["android","android-fragments","android-library","android-ui","coordinator-layout","coordinatorlayout"],"latest_commit_sha":null,"homepage":null,"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/natario1.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-21T02:17:30.000Z","updated_at":"2024-10-08T02:17:05.000Z","dependencies_parsed_at":"2025-01-02T01:11:45.153Z","dependency_job_id":"e9bdd79a-c655-45a4-b187-e076ecaa63a1","html_url":"https://github.com/natario1/NestedScrollCoordinatorLayout","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natario1%2FNestedScrollCoordinatorLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natario1%2FNestedScrollCoordinatorLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natario1%2FNestedScrollCoordinatorLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natario1%2FNestedScrollCoordinatorLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natario1","download_url":"https://codeload.github.com/natario1/NestedScrollCoordinatorLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248599539,"owners_count":21131309,"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","android-fragments","android-library","android-ui","coordinator-layout","coordinatorlayout"],"created_at":"2024-11-06T09:12:05.852Z","updated_at":"2025-04-12T16:43:22.266Z","avatar_url":"https://github.com/natario1.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NestedScrollCoordinatorLayout\n\n```groovy\ncompile 'com.otaliastudios:nestedscrollcoordinatorlayout:1.0.3'\n```\n\nA `CoordinatorLayout` that implements nested scrolling and propagates scroll events to parent views.\nThis is useful for nested Coordinators, e.g. for inner fragments in a parent activity. \nBy default, scroll events that take place inside the inner `CoordinatorLayout` won't reach the outer \ncoordinator, and thus they won't trigger scroll animations and so on.\n\nIf `NestedScrollCoordinatorLayout` is used, events are correctly propagated.\n\n## Usage\n\nJust use `NestedScrollCoordinatorLayout` as the inner `CoordinatorLayout`.\n\n```xml\n\u003c!-- parent coordinator --\u003e\n\u003candroid.support.design.widget.CoordinatorLayout\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\u003e\n    \n    \u003c!-- stuff... --\u003e\n    \n    \u003c!-- inner coordinator with stuff inside --\u003e\n    \u003ccom.otaliastudios.nestedscrollcoordinatorlayout.NestedScrollCoordinatorLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"/\u003e   \n    \n\u003c/android.support.design.widget.CoordinatorLayout\u003e\n```\n\nYou can have slight control over the scroll propagation behavior using\n`NestedScrollCoordinatorLayout.setPassMode()`. Specifically:\n\n- `PASS_MODE_BOTH` (default): scroll events are passed to the parent stream and, at the same time,\nto this Coordinator childs\n- `PASS_MODE_PARENT_FIRST`: scroll events are passed to the parent stream and, if not consumed,\nthey go on to this Coordinator childs\n\n## Contributing\n\nYou are welcome to contribute with issues, PRs or suggestions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatario1%2Fnestedscrollcoordinatorlayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatario1%2Fnestedscrollcoordinatorlayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatario1%2Fnestedscrollcoordinatorlayout/lists"}