{"id":20627666,"url":"https://github.com/tonyvu2014/android-shoppingcart","last_synced_at":"2025-06-13T09:38:48.148Z","repository":{"id":29898362,"uuid":"33444013","full_name":"tonyvu2014/android-shoppingcart","owner":"tonyvu2014","description":"An implementation of android shopping cart library project for Android","archived":false,"fork":false,"pushed_at":"2023-04-03T10:42:13.000Z","size":909,"stargazers_count":88,"open_issues_count":7,"forks_count":70,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-28T21:51:09.614Z","etag":null,"topics":["android","android-shoppingcart","ecommerce","shopping-cart"],"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/tonyvu2014.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}},"created_at":"2015-04-05T14:49:52.000Z","updated_at":"2024-11-07T10:17:45.000Z","dependencies_parsed_at":"2022-08-23T04:50:15.813Z","dependency_job_id":null,"html_url":"https://github.com/tonyvu2014/android-shoppingcart","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyvu2014%2Fandroid-shoppingcart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyvu2014%2Fandroid-shoppingcart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyvu2014%2Fandroid-shoppingcart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyvu2014%2Fandroid-shoppingcart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonyvu2014","download_url":"https://codeload.github.com/tonyvu2014/android-shoppingcart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249095216,"owners_count":21211886,"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-shoppingcart","ecommerce","shopping-cart"],"created_at":"2024-11-16T13:17:48.220Z","updated_at":"2025-04-15T15:22:17.842Z","avatar_url":"https://github.com/tonyvu2014.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# android-shoppingcart\n\nAn implementation of android shopping cart library project for Android.\n\nTo use this library, follow these steps:\n\nDownload and include `library` in your dependencies\n\n    dependencies {\n        // ...\n        compile project(path: ':library')\n    }\n\nFor any product that you want to add in your shopping cart, create a class that extends the\n`Saleable` interface and implements these 2 methods:\n\n    getName() // must return the product name\n    getPrice() // must return the product price\n\nAlso override `equals()` and `hashCode()` methods.\n\nNow from anywhere in your application, you can retrieve the shopping cart with\n\n    Cart cart = CartHelper.getCart();\n\nAfter retrieving the shopping cart, the library provides various methods to manipulate the shopping\ncart like adding, removing, updating products or clear the entire shopping cart.\n\nFor an example on how to use this library, please see the `demo` (https://github.com/tonyvu2014/android-shoppingcart/tree/master/demo) app module.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonyvu2014%2Fandroid-shoppingcart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonyvu2014%2Fandroid-shoppingcart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonyvu2014%2Fandroid-shoppingcart/lists"}