{"id":21130305,"url":"https://github.com/rno/Android-ScrollBarPanel","last_synced_at":"2025-07-09T01:33:06.822Z","repository":{"id":2761306,"uuid":"3759388","full_name":"rno/Android-ScrollBarPanel","owner":"rno","description":"Android-ScrollBarPanel allows to attach a View to a scroll indicator like it's done in Path 2.0","archived":true,"fork":false,"pushed_at":"2012-03-26T20:28:24.000Z","size":310,"stargazers_count":547,"open_issues_count":4,"forks_count":160,"subscribers_count":59,"default_branch":"master","last_synced_at":"2023-11-07T15:15:14.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jessiehan/asset-cache-control","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rno.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}},"created_at":"2012-03-19T00:57:39.000Z","updated_at":"2023-11-03T05:40:44.000Z","dependencies_parsed_at":"2022-08-20T12:40:31.874Z","dependency_job_id":null,"html_url":"https://github.com/rno/Android-ScrollBarPanel","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rno%2FAndroid-ScrollBarPanel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rno%2FAndroid-ScrollBarPanel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rno%2FAndroid-ScrollBarPanel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rno%2FAndroid-ScrollBarPanel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rno","download_url":"https://codeload.github.com/rno/Android-ScrollBarPanel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476370,"owners_count":17480215,"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-11-20T05:32:35.028Z","updated_at":"2024-11-20T05:32:42.844Z","avatar_url":"https://github.com/rno.png","language":"Java","funding_links":[],"categories":["Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"# Path 2.0 like ScrollBarPanel for Android\n\n![Screenshot](https://github.com/rno/Android-ScrollBarPanel/raw/master/demo_capture.png)\n\nAndroid-ScrollBarPanel allows to attach a View to a scroll indicator like it's done in Path 2.0.\n\n## Features\n\n * Supports custom View as ScrollBarPanel.\n\nRepository at \u003chttps://github.com/rno/Android-ScrollBarPanel\u003e.\n\n## Usage\n\n### Layout\n\n``` xml\n\u003c!--\n  The ExtendedListView replaces a standard ListView widget\n  and provides the ScrollBarPanel capability.\n--\u003e\n\u003ccom.dafruits.android.library.widgets.ExtendedListView\n    xmlns:dafruits=\"http://schemas.android.com/apk/res/YOUR_APP_PACKAGE_NAME\"\n    android:id=\"@android:id/list\"\n    android:layout_height=\"fill_parent\"\n    android:layout_width=\"fill_parent\"\n    dafruits:scrollBarPanel=\"@layout/YOUR_SCROLLBARPANEL_LAYOUT\"\n    dafruits:scrollBarPanelInAnimation=\"@anim/YOUR_ANIMATION\"\n    dafruits:scrollBarPanelOutAnimation=\"@anim/YOUR_ANIMATION\" /\u003e\n```\n\n### Activity\n\n``` java\n// Set your scrollBarPanel\nExtendedListView listView = (ExtendedListView) findViewById(android.R.id.list);\n\n// Attach a position changed listener on the listview and play with your scrollBarPanel\n// when you need to update its content\nmListView.setOnPositionChangedListener(new OnPositionChangedListener() {\n\n\t@Override\n\tpublic void onPositionChanged(ExtendedListView listView, int firstVisiblePosition, View scrollBarPanel) {\n\t\t((TextView) scrollBarPanel).setText(\"Position \" + firstVisiblePosition);\n\t}\n});\n\n```\n\n## Pull Requests\n\nI will gladly accept pull requests for fixes and feature enhancements but please do them in the dev branch. The master branch is for the latest stable code,  dev is where I try things out before releasing them as stable. Any pull requests that are against master from now on will be closed asking for you to do another pull against dev.\n\n## Changelog\n\n### 0.1.0\n\n* first commit :-)\n\n### 0.1.1\n\n* added scrollBarPanel attribute to ExtendedListView\n\n### 0.1.2\n\n* Optimisations\n\n### 0.1.3\n\n* More precision regarding scrollBarPanel fade in and fade out (Thanks [Cyril Mottier](https://github.com/cyrilmottier) for the tip!)\n\n### 0.1.4\n\n* Use the position the scrollbar thumb is on instead of the firstVisibleItem position.\n\n### 0.1.5\n\n* Fix NPE (Thanks to [Chris Banes](https://github.com/chrisbanes))\n* Added attributes to ExtendedListView to customize in / out animation of scrollBarPanel\n\n## Acknowledgments\n\n* [Chris Banes](https://github.com/chrisbanes)\n\n## License\n\nLicensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frno%2FAndroid-ScrollBarPanel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frno%2FAndroid-ScrollBarPanel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frno%2FAndroid-ScrollBarPanel/lists"}