{"id":3471,"url":"https://github.com/michelelacorte/SwipeableCard","last_synced_at":"2025-08-03T20:32:25.095Z","repository":{"id":201342315,"uuid":"47075567","full_name":"michelelacorte/SwipeableCard","owner":"michelelacorte","description":"A simple implementation of swipe card like StreetView","archived":false,"fork":false,"pushed_at":"2017-04-21T07:39:16.000Z","size":4821,"stargazers_count":843,"open_issues_count":6,"forks_count":145,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-08-16T14:34:32.823Z","etag":null,"topics":["android","android-ui","card","credit-card","java","library","library-free","maps-card","swipe-cards"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michelelacorte.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}},"created_at":"2015-11-29T18:46:00.000Z","updated_at":"2024-07-16T09:41:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"80d5f61a-a11c-45ec-94ff-5b8573ca6908","html_url":"https://github.com/michelelacorte/SwipeableCard","commit_stats":null,"previous_names":["michelelacorte/swipeablecard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelelacorte%2FSwipeableCard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelelacorte%2FSwipeableCard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelelacorte%2FSwipeableCard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelelacorte%2FSwipeableCard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michelelacorte","download_url":"https://codeload.github.com/michelelacorte/SwipeableCard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228567009,"owners_count":17937983,"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":["android","android-ui","card","credit-card","java","library","library-free","maps-card","swipe-cards"],"created_at":"2024-01-05T20:16:42.434Z","updated_at":"2024-12-07T05:30:29.748Z","avatar_url":"https://github.com/michelelacorte.png","language":"Java","readme":"\u003ch1 align=\"center\"\u003e\u003cimg src=\"http://s24.postimg.org/n3s9xflud/banner.jpg\"/\u003e\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003eA simple implementation of swipe card like StreetView!!\u003c/h1\u003e\n\n[![Codacy Badge](https://api.codacy.com/project/badge/grade/99f0b52958a5425e9d9377a6c253b6fd)](https://www.codacy.com/app/micky1995/SwipeableCard)\n\n[![Twitter](https://img.shields.io/badge/Twitter-@LacorteMichele-blue.svg?style=flat)](https://twitter.com/LacorteMichele)\n\n[![API](https://img.shields.io/badge/API-14%2B-yellow.svg?style=flat)](https://android-arsenal.com/api?level=14)\n\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-SwipeableCard-green.svg?style=true)](https://android-arsenal.com/details/1/2880)\n\n[![alt tag](http://www.android-gems.com/badge/michelelacorte/SwipeableCard.svg)](http://www.android-gems.com/lib/michelelacorte/SwipeableCard?lib_id=753)\n\n[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n\n## DONATIONS\n\nThis project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated (and I love food, coffee and beer). Thank you!\n\n**PayPal**\n\n* **[Donate $5]**: Thank's for creating this project, here's a coffee (or some beer) for you!\n\n* **[Donate $10]**: Wow, I am stunned. Let me take you to the movies!ù\n\n* **[Donate $15]**: I really appreciate your work, let's grab some lunch!\n\n* **[Donate $25]**: That's some awesome stuff you did right there, dinner is on me!\n\n* **[Donate $50]**: I really really want to support this project, great job!\n\n* **[Donate $100]**: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome!\n\n* **[Donate $2799]**: Go buddy, buy Macbook Pro for yourself!\n\nOf course, you can also choose what you want to donate, all donations are awesome!! Follow this link [Donate](https://www.paypal.me/MicheleLacorte)!!\n\nIf you want to contribute you may download [Donation App](https://play.google.com/store/apps/details?id=it.michelelacorte.githubdonation) from Google Play\n\n\n## EXAMPLE\n\n#### Swipeable Card is on Google Play!!!\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=it.michelelacorte.exampleswipeablecard\"\u003e\n\u003cimg alt=\"Get it on Google Play\" src=\"https://s32.postimg.org/50h5qj4lx/google_play_badge.png\" /\u003e\n\u003c/a\u003e\n\n#### If you want to help me please download Donation App!!\n\n\u003ca href=\"https://play.google.com/store/apps/details?id=it.michelelacorte.githubdonation\"\u003e\n\u003cimg alt=\"Get it on Google Play\" src=\"https://s32.postimg.org/50h5qj4lx/google_play_badge.png\" /\u003e\n\u003c/a\u003e\n\n#### And Amazon Store\n\n\u003ca href=\"http://www.amazon.it/Michele-Lacorte-Swipeable-Card-Demo/dp/B01BKGSSSS/ref=sr_1_1?s=mobile-apps\u0026ie=UTF8\u0026qid=1454943441\u0026sr=1-1\u0026keywords=swipeable+card+demo\"\u003e\n\u003cimg alt=\"Get it on Amazon Store\" src=\"http://s29.postimg.org/lriupxrl3/amazon_apps_link.png\" /\u003e\n\u003c/a\u003e\n\n#### [See video demo here](https://www.youtube.com/watch?v=81gAqOm1m5w)\n\n#### Credit Card!!\n##### In collaboration with [cooltechworks](https://github.com/cooltechworks) and [CreditCardView](https://github.com/cooltechworks/CreditCardView)\n\n![alt tag](http://i.giphy.com/3ornjQLD95Osp4qlm8.gif)\n\n![alt tag](http://i.giphy.com/26tn8QOAqL4SVyRsA.gif)\n\n#### Maps Card\n\n![alt tag](http://i.giphy.com/26FPDYox55jE0UBVu.gif) \n\n![alt tag](http://s2.postimg.org/i7te06hqx/Screenshot_2016_02_20_21_44_02.png)\n\n#### Swipe to Dismiss\n\n![alt tag](http://i.giphy.com/3o7rc2savJab4JExI4.gif)\n\n#### New Floating Action Button!!!\n\n![alt tag](http://i.giphy.com/3o8doUXxjOCwHw2GEo.gif)\n\n![alt tag](http://i.giphy.com/26tP83JrpN9mpN5wA.gif)\n\n![alt tag](http://i.giphy.com/d2Za0uOe8fPYa38Q.gif)\n\n#### Possibility to use SwipeableCard in RecyclerView!!!\n\n![alt tag](http://i.giphy.com/3o8doQxv28CVTGdM6Q.gif)\n\n\n## USAGE\n\nSwipeable Card is pushed to JCenter, so you just need to add the following dependency to your `build.gradle`.\n```groovy\ncompile 'it.michelelacorte.swipeablecard:library:2.3.0'\n```\n\nIn alternative you can use AAR repository with:\n\n```groovy\nallprojects {\n    repositories {\n        maven { url \"https://dl.bintray.com/michelelacorte/maven/\" }\n        jcenter()\n        mavenCentral()\n\n    }\n}\n```\n\nAnd add this dependecies\n\n```groovy\ncompile 'it.michelelacorte.swipeablecard:library:2.3.0@aar'\n```\n\n## DOCUMENTATION\n\n- [Full Documentation](http://michelelacorte.github.io/SwipeableCard/docs/javadoc/index.html)\n\n- [Swipeable Single Card Example](https://github.com/michelelacorte/SwipeableCard/blob/master/SINGLECARD.md)\n\n- [Swipeable RecyclerView Card Example](https://github.com/michelelacorte/SwipeableCard/blob/master/RECYCLERVIEW.md)\n\n- [Customization Card Example](https://github.com/michelelacorte/SwipeableCard/blob/master/CUSTOMIZATION.md)\n\n- [Any Card Layout Example](https://github.com/michelelacorte/SwipeableCard/blob/master/ANYCARD.md)\n\n- [Maps Card Example](https://github.com/michelelacorte/SwipeableCard/blob/master/MAPS.md)\n\n- [Credit Card Example](https://github.com/michelelacorte/SwipeableCard/blob/master/CREDIT.md)\n\n- [Attribute Table](https://github.com/michelelacorte/SwipeableCard/blob/master/ATTRS.md)\n\n## SYSTEM REQUIREMENT\n\nAndroid API 14+\n\n## STATUS\n\n![project maintained](https://img.shields.io/badge/Project-Maintained-green.svg)\n\n## CHANGELOG\n\n**v2.3.0**\n- Credit Card added!! (See [Preview](http://i.giphy.com/3ornjQLD95Osp4qlm8.gif))\n- Credit Card in `RecyclerView`\n- Swipe up/down functionality (automatic and swipe gesture mode)\n- Added `isAutoAmination` attribute\n- Update support library to latest version `23.2.1`\n- Update documentation to `2.3.0`\n- Update version `1.2` of Application Demo\n- Fixed `RecyclerView` duplicate menù item in multiple marker mode maps\n- Added Codacy code review and fixed some issue (from B to A level see [![Codacy Badge](https://api.codacy.com/project/badge/grade/99f0b52958a5425e9d9377a6c253b6fd)](https://www.codacy.com/app/micky1995/SwipeableCard))\n\n**v2.2.0**\n- Maps Fragment added (with many method see [Preview](http://i.giphy.com/26FPDYox55jE0UBVu.gif))!\n- Maps mode in `RecyclerView` SwipeableCard\n- Maps single marker mode and multiple marker mode support\n- Improved hierarchy type of Card\n- Improved `Builder()` constructor\n- Fixed issue in `OptionViewAdditional`\n- Added documentation to GitHub repo: [Here](http://michelelacorte.github.io/SwipeableCard/docs/javadoc/index.html)\n- Version 1.1 of Application Demo\n\n**v2.1.0**\n- Added Attribute to XML (see [Attribute Table](https://github.com/michelelacorte/SwipeableCard/blob/master/ATTRS.md))\n- New version of App demo (release on [Play Store](https://play.google.com/store/apps/details?id=it.michelelacorte.exampleswipeablecard))\n- Multiple instance of `SwipeableCard` in the same class with `init(..)` method (see [Multiple Instance](https://github.com/michelelacorte/SwipeableCard/blob/master/SINGLECARD.md#multiple-instance))\n- Improved `SwipeableCard` class\n- Improved `OptionView` and `OptionViewAdditional` and other class with annotations and more bug fix\n- Swipe to dismiss function added (see [Preview](http://i.giphy.com/3o7rc2savJab4JExI4.gif))\n- Fixed `RecyclerView` blinking\n\n**v2.0.0**\n- Support all custom `CardView` Layout!!!\n- Improved `RecyclerView` animation\n- `Fab` button added\n- Fixed minor bug  for compatibility with API 14+\n- Added three `ImageView` button (see [Customization](https://github.com/michelelacorte/SwipeableCard/blob/master/CUSTOMIZATION.md))\n- Added two `TextView` (see [Customization](https://github.com/michelelacorte/SwipeableCard/blob/master/CUSTOMIZATION.md))\n- Added method `setCardRadius(int radius)` default 4\n\n**v1.0.1**\n- Support API 14+\n- Update support library and gradle\n\n**v1.0.0**\n- Support API 21+\n- Added class `SwipeableCard.java` for setUp view of Swipeable Card.\n- Added class `OptionView.java` that contains setter for set-up card with your own options.\n- Added class `SwipeableCardAdapter.java` an adapter ready to use the Swipeable Card in RecyclerView, its constructor accepts `List\u003cOptionView\u003e` for each optionsView of card and `Context`.\n- Added interface `AnimationCard` with abstract method for animation (for completeness only).\n- Added method `setOptionView(OptionView optionViews)` called by OptionView class for set-up card with your own options.\n- Added example App.\n\nMethod called by `OptionView.getOptionView()`\n- Added method `getDuration()`\n- Added method `getTitle()`\n- Added method `getColorTitle()`\n- Added method `getMenuItem()`\n- Added method `getImage()`\n- Added method `getSubTitle()`\n- Added method `getColorToolbar()`\n- Added method `getText()`\n- Added method `getToolbarListener()`\n- Added method `isSubTitle()` check if Sub Title is set\n- Added method `isMenuItem()` check if menuItem is set\n- Added method `isImage()` check if Image is set\n- Added method `isText()` check if Text is set\n\nMethod called by `OptionView.Builder()`\n\n- Added method `setDuration(long duration)` default is 500 millis\n- Added method `toolbarListener(Toolbar.OnMenuItemClickListener toolbarListener)` for set-up the menù item on click\n- Added method `title(String title)` default is empty\n- Added method `colorTitle(int color)` default is black\n- Added method `menuItem(int menuItem)` default there isn't a menu\n- Added method `image(int image)` for set drawable image\n- Added method `subTitle(String subTitle)` default isn't set\n- Added method `toolbarColor(int color)` default is `transparent`\n- Added method `text(String text)`for set custom text\n- Added method `build()` for build swipeable card with custom configuration\n\n## CREDITS\n\nAuthor: Michele Lacorte (micky1995g@gmail.com)\n\n## CONTRIBUTING\n\nIf you want to contribute to the project fork it and open [Pull Request](https://github.com/michelelacorte/SwipeableCard/pulls), or contact me by e-mail.\n\nEach proposal will be accepted!\n\nFollow my [Google+](https://plus.google.com/u/0/collection/McidZB)\n\n## LICENSE\n\n```\nCopyright 2016 Michele Lacorte\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\n[Donate $5]: \t\thttps://www.paypal.me/MicheleLacorte/5\n[Donate $10]:  \t\thttps://www.paypal.me/MicheleLacorte/10\n[Donate $15]:  \t\thttps://www.paypal.me/MicheleLacorte/15\n[Donate $25]:  \t\thttps://www.paypal.me/MicheleLacorte/25\n[Donate $50]: \t\thttps://www.paypal.me/MicheleLacorte/50\n[Donate $100]: \t\thttps://www.paypal.me/MicheleLacorte/100\n[Donate $2799]: \thttps://www.paypal.me/MicheleLacorte/2799\n\n## Support on Beerpay\nHey dude! Help me out for a couple of :beers:!\n\n[![Beerpay](https://beerpay.io/michelelacorte/SwipeableCard/badge.svg?style=beer-square)](https://beerpay.io/michelelacorte/SwipeableCard)  [![Beerpay](https://beerpay.io/michelelacorte/SwipeableCard/make-wish.svg?style=flat-square)](https://beerpay.io/michelelacorte/SwipeableCard?focus=wish)\n","funding_links":["https://www.paypal.me/MicheleLacorte)!!","https://www.paypal.me/MicheleLacorte/5","https://www.paypal.me/MicheleLacorte/10","https://www.paypal.me/MicheleLacorte/15","https://www.paypal.me/MicheleLacorte/25","https://www.paypal.me/MicheleLacorte/50","https://www.paypal.me/MicheleLacorte/100","https://www.paypal.me/MicheleLacorte/2799"],"categories":["\u003ca name=\"View\"\u003eView\u003c/a\u003e","Libraries","CreditCard","Libs","库"],"sub_categories":["Personal Blog","GUI","\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget","[](https://github.com/JStumpp/awesome-android/blob/master/readme.md#gui)GUI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelelacorte%2FSwipeableCard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichelelacorte%2FSwipeableCard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelelacorte%2FSwipeableCard/lists"}