{"id":13641362,"url":"https://github.com/ashqal/ChromeLikeSwipeLayout","last_synced_at":"2025-04-20T07:33:06.645Z","repository":{"id":72313797,"uuid":"46502755","full_name":"ashqal/ChromeLikeSwipeLayout","owner":"ashqal","description":"Pull down, and execute more action!","archived":false,"fork":false,"pushed_at":"2017-04-17T03:25:09.000Z","size":685,"stargazers_count":644,"open_issues_count":5,"forks_count":71,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-08-03T01:22:00.550Z","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/ashqal.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,"roadmap":null,"authors":null}},"created_at":"2015-11-19T15:51:08.000Z","updated_at":"2024-03-05T10:43:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd81cbce-5e74-4534-b67a-decb69245389","html_url":"https://github.com/ashqal/ChromeLikeSwipeLayout","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/ashqal%2FChromeLikeSwipeLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashqal%2FChromeLikeSwipeLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashqal%2FChromeLikeSwipeLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashqal%2FChromeLikeSwipeLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashqal","download_url":"https://codeload.github.com/ashqal/ChromeLikeSwipeLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223822253,"owners_count":17208832,"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:20.116Z","updated_at":"2024-11-09T11:31:15.812Z","avatar_url":"https://github.com/ashqal.png","language":"Java","funding_links":[],"categories":["下拉刷新"],"sub_categories":[],"readme":"# ChromeLikeSwipeLayout\nPull down, and execute more action!\n\n## Screenshot\n![DemoPreview](https://raw.githubusercontent.com/ashqal/ChromeLikeSwipeLayout/master/screenshot/DemoPreview.gif)\n\u003c/br\u003e\n\n## Usage\n```java\n\u003ccom.asha.ChromeLikeSwipeLayout\n    android:id=\"@+id/chrome_like_swipe_layout\"\n    app:clwl_circleColor=\"#89d999\"\n    app:clwl_gap=\"0dp\"\n    app:clwl_radius=\"45dp\"\n    app:clwl_maxHeight=\"30dp\"\n    app:clwl_collapseDuration=\"300\"\n    app:clwl_rippleDuration=\"300\"\n    app:clwl_gummyDuration=\"300\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\u003e\n    \u003cLinearLayout\n        android:orientation=\"vertical\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:background=\"#DDDDDD\"\u003e\n       ...\t\n    \u003c/LinearLayout\u003e\n\u003c/com.asha.ChromeLikeSwipeLayout\u003e\n```\n\n* item selected callback\n```java\nChromeLikeSwipeLayout chromeLikeSwipeLayout = (ChromeLikeSwipeLayout) findViewById(R.id.chrome_like_swipe_layout);\nChromeLikeSwipeLayout.makeConfig()\n        .addIcon(R.drawable.selector_icon_add)\n        .addIcon(R.drawable.selector_icon_refresh)\n        .addIcon(R.drawable.selector_icon_close)\n\t.maxHeight(dp2px(40))\n        .radius(dp2px(35))\n        .gap(dp2px(5))\n        .circleColor(0xFF11CCFF)\n        .gummyDuration(1000)\n        .rippleDuration(1000)\n        .collapseDuration(1000)\n        .listenItemSelected(new ChromeLikeSwipeLayout.IOnItemSelectedListener() {\n            @Override\n            public void onItemSelected(int index) {\n                Toast.makeText(RecyclerViewActivity.this, \"onItemSelected:\" + index, Toast.LENGTH_SHORT).show();\n            }\n        })\n        .setTo(chromeLikeSwipeLayout);\n```\n\n## Supported\n* All ViewGroup\n\n## Download\n```\nallprojects {\n    repositories {\n        jcenter()\n        maven { url \"https://jitpack.io\" }\n    }\n}\n```\n```\ndependencies {\n compile 'com.github.ashqal:ChromeLikeSwipeLayout:\u003cversion\u003e'\n}\n```\n\n## Release Note\n\n**0.4**\n* maxHeight supported(Thanks to  [Tommy Chan](https://github.com/tommytcchan)).\n* Using `jitpack` instead of jCenter\n* NestedScroll supported.\n* Fix a few bugs.\n\n\n**0.3**\n* add multi touch support\n\n##LICENSE\n```\nCopyright 2015 Asha\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashqal%2FChromeLikeSwipeLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashqal%2FChromeLikeSwipeLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashqal%2FChromeLikeSwipeLayout/lists"}