{"id":13395996,"url":"https://github.com/daimajia/AndroidSwipeLayout","last_synced_at":"2025-03-13T22:31:25.343Z","repository":{"id":20033376,"uuid":"23301468","full_name":"daimajia/AndroidSwipeLayout","owner":"daimajia","description":"The Most Powerful Swipe Layout!","archived":false,"fork":false,"pushed_at":"2023-11-10T08:30:13.000Z","size":399,"stargazers_count":12375,"open_issues_count":383,"forks_count":2670,"subscribers_count":459,"default_branch":"master","last_synced_at":"2024-10-29T14:57:14.822Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daimajia.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":"2014-08-25T04:09:33.000Z","updated_at":"2024-10-27T22:15:04.000Z","dependencies_parsed_at":"2024-05-03T15:36:42.672Z","dependency_job_id":null,"html_url":"https://github.com/daimajia/AndroidSwipeLayout","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimajia%2FAndroidSwipeLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimajia%2FAndroidSwipeLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimajia%2FAndroidSwipeLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimajia%2FAndroidSwipeLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daimajia","download_url":"https://codeload.github.com/daimajia/AndroidSwipeLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243112146,"owners_count":20238185,"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-07-30T18:00:37.312Z","updated_at":"2025-03-13T22:31:24.999Z","avatar_url":"https://github.com/daimajia.png","language":"Java","readme":"# Android Swipe Layout [![Build Status](https://travis-ci.org/daimajia/AndroidSwipeLayout.svg?branch=master)](https://travis-ci.org/daimajia/AndroidSwipeLayout)\n\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/daimajia/AndroidSwipeLayout?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[![Insight.io](https://insight.io/repoBadge/github.com/daimajia/AndroidSwipeLayout)](https://insight.io/github.com/daimajia/AndroidSwipeLayout)\n\nThis is the brother of [AndroidViewHover](https://github.com/daimajia/AndroidViewHover).\n\nOne year ago, I started to make an app named [EverMemo](https://play.google.com/store/apps/details?id=com.zhan_dui.evermemo) with my good friends. The designer gave me a design picture, the design like this:\n\n![](http://ww1.sinaimg.cn/mw690/610dc034jw1ejoquidvvsg208i0630u4.gif)\n\nI found it was pretty hard to achieve this effect, cause you had to be very familiar with the Android Touch System. It was beyond my ability that moment, and I also noticed that there was no such a concept library...\n\nTime passed, finally...as you see right now.\n\n## Demo\n\n![](http://ww2.sinaimg.cn/mw690/610dc034jw1ejoplapwtqg208n0e74dx.gif)\n\n[Download Demo](https://github.com/daimajia/AndroidSwipeLayout/releases/download/v1.1.8/AndroidSwipeLayout-v1.1.8.apk)\n\nBefore I made this, I actually found some libraries (eg.[SwipeListView](https://github.com/47deg/android-swipelistview)) that helps developers to integrate swiping with your UI component. \n\nBut it only works in `ListView`, and it has too many issues that they never care. What a pity!\n\nWhen I start to make this library, I set some goals:\n\n- Can be easily integrated in anywhere, ListView, GridView, ViewGroup etc.\n- Can receive `onOpen`,`onClose`,`onUpdate` callbacks.\n- Can notifiy the hidden children how much they have shown.\n- Can be nested each other.\n- Can handle complicate situation, just like [this](https://camo.githubusercontent.com/d145d9a9508b3d204b70882c05bc3d9bd433883c/687474703a2f2f7777312e73696e61696d672e636e2f6c617267652f3631306463303334677731656b686f6a7379326172673230386530366e6774312e676966).\n\n\n## Usage\n\n### Step 1\n#### Gradle\n\n```groovy\ndependencies {\n    compile 'com.android.support:recyclerview-v7:21.0.0'\n    compile 'com.android.support:support-v4:20.+'\n    compile \"com.daimajia.swipelayout:library:1.2.0@aar\"\n}\n```\n\n#### Maven\n\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.google.android\u003c/groupId\u003e\n\t\u003cartifactId\u003esupport-v4\u003c/artifactId\u003e\n\t\u003cversion\u003er6\u003c/version\u003e\n\u003c/dependency\u003e\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.google.android\u003c/groupId\u003e\n\t\u003cartifactId\u003erecyclerview-v7\u003c/artifactId\u003e\n\t\u003cversion\u003e21.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.daimajia.swipelayout\u003c/groupId\u003e\n    \u003cartifactId\u003elibrary\u003c/artifactId\u003e\n    \u003cversion\u003e1.2.0\u003c/version\u003e\n    \u003ctype\u003eapklib\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n#### Eclipse\n\n[AndroidSwipeLayout-v1.1.8.jar](https://github.com/daimajia/AndroidSwipeLayout/releases/download/v1.1.8/AndroidSwipeLayout-v1.1.8.jar)\n\n### Step 2\n\n**Make sure to use the internal adapter instead of your own!**\n\n[Wiki Usage](https://github.com/daimajia/AndroidSwipeLayout/wiki/usage)\n\n## Wiki\n\n[Go to Wiki](https://github.com/daimajia/AndroidSwipeLayout/wiki)\n\n## About me\n\nA student in mainland China.\n\nWelcome to [offer me an internship](mailto:daimajia@gmail.com). If you have any new idea about this project, feel free to [contact me](mailto:daimajia@gmail.com). :smiley:\n\n","funding_links":[],"categories":["Index `(light-weight pages)`","CN","Java","Index","滑动删除","Libs","etc","值的学习的五个自定义View开源项目","Projects List"],"sub_categories":["[daimajia](https://github.com/daimajia)","\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaimajia%2FAndroidSwipeLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaimajia%2FAndroidSwipeLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaimajia%2FAndroidSwipeLayout/lists"}