{"id":13642687,"url":"https://github.com/Solartisan/WaveSideBar","last_synced_at":"2025-04-20T20:32:26.620Z","repository":{"id":61580660,"uuid":"60065065","full_name":"Solartisan/WaveSideBar","owner":"Solartisan","description":null,"archived":false,"fork":false,"pushed_at":"2017-06-07T07:01:33.000Z","size":833,"stargazers_count":1179,"open_issues_count":7,"forks_count":193,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-12T22:38:16.847Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/Solartisan.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":"2016-05-31T06:50:52.000Z","updated_at":"2025-04-02T11:27:01.000Z","dependencies_parsed_at":"2022-10-19T13:30:36.471Z","dependency_job_id":null,"html_url":"https://github.com/Solartisan/WaveSideBar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solartisan%2FWaveSideBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solartisan%2FWaveSideBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solartisan%2FWaveSideBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solartisan%2FWaveSideBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Solartisan","download_url":"https://codeload.github.com/Solartisan/WaveSideBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249958871,"owners_count":21351731,"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-08-02T01:01:34.952Z","updated_at":"2025-04-20T20:32:25.874Z","avatar_url":"https://github.com/Solartisan.png","language":"Java","readme":"WaveSideBar project\n===================\n\n一个快速跳跃分组的侧边栏控件，示例中配合RecyclerView实现。\n\n\u003cimg src=\"./preview/simple.gif\"\u003e\n\n波浪的实现采用了三段二次贝塞尔曲线，附一张手稿草图，仅供参考。\n\n\u003cimg src=\"./preview/design.png\"\u003e\n\nUsage\n---\n#### **use `WaveSideBarView` in the layout file**\n\n```xml\n    \u003ccc.solart.wave.WaveSideBarView\n        android:id=\"@+id/side_view\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"/\u003e\n```\n\n#### **set `OnTouchLetterChangeListener`**\n\n```java\n    mSideBarView.setOnTouchLetterChangeListener(new WaveSideBarView.OnTouchLetterChangeListener() {\n            @Override\n            public void onLetterChange(String letter) {\n                int pos = adapter.getLetterPosition(letter);\n\n                if (pos != -1) {\n                    mRecyclerView.scrollToPosition(pos);\n                }\n            }\n        });\n```\n\n    \nThanks\n------\nused PinnedHeaderDecoration in\n[RecyclerItemDecoration](https://github.com/dinuscxj/RecyclerItemDecoration)\n    \nLicense\n---\n\n    No fucking license. just enjoy it!","funding_links":[],"categories":["SideBar"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSolartisan%2FWaveSideBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSolartisan%2FWaveSideBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSolartisan%2FWaveSideBar/lists"}