{"id":20690510,"url":"https://github.com/octree/swipelayout","last_synced_at":"2025-12-16T21:52:38.511Z","repository":{"id":24186311,"uuid":"27577257","full_name":"octree/SwipeLayout","owner":"octree","description":"Android 水平滑动显示操作菜单","archived":false,"fork":false,"pushed_at":"2014-12-19T07:12:40.000Z","size":3018,"stargazers_count":21,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-02-27T06:11:57.153Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/octree.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":"2014-12-05T06:05:00.000Z","updated_at":"2019-09-17T14:35:23.000Z","dependencies_parsed_at":"2022-08-22T12:10:46.734Z","dependency_job_id":null,"html_url":"https://github.com/octree/SwipeLayout","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octree%2FSwipeLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octree%2FSwipeLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octree%2FSwipeLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octree%2FSwipeLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octree","download_url":"https://codeload.github.com/octree/SwipeLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224978993,"owners_count":17401803,"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-16T23:13:28.103Z","updated_at":"2025-12-16T21:52:33.469Z","avatar_url":"https://github.com/octree.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"SwipeLayout\n===========\n\nAndroid 滑动显示菜单\n\n##Demo\n\n![demo](./images/demo.gif) --------  ![demo](./images/demo2.gif)\n\n##使用方法\n```java\n    //adapter\n    class MyAdapater extends SwipeLayoutAdapter\u003cString\u003e\n    {\n        public MyAdapater(Activity context,int contentViewResourceId,int actionViewResourceId,List\u003cString\u003e objects)\n        {\n            super(context,contentViewResourceId,actionViewResourceId,objects);\n        }\n\n        @Override\n        public void setContentView(View contentView, int position, HorizontalScrollView scrollParent) {\n            //设置内容区\n        }\n\n        @Override\n        public void setActionView(View actionView,final int position, final HorizontalScrollView scrollParent) {\n \t\t//重写  设置滑动要显示的View\n\n        }\n    }\n    //then set Adapter\n    listView.setAdapter(new MyAdapter(......));\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctree%2Fswipelayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctree%2Fswipelayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctree%2Fswipelayout/lists"}