{"id":25255525,"url":"https://github.com/theluckycoder/expandable-card-view","last_synced_at":"2025-04-05T23:44:19.536Z","repository":{"id":30360540,"uuid":"118326828","full_name":"TheLuckyCoder/Expandable-Card-View","owner":"TheLuckyCoder","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-28T22:41:30.000Z","size":150,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T06:03:18.617Z","etag":null,"topics":["android","android-library","android-view","kotlin-android","kotlin-library"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/TheLuckyCoder.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":"2018-01-21T11:00:45.000Z","updated_at":"2020-07-16T07:04:45.000Z","dependencies_parsed_at":"2022-09-10T17:41:57.892Z","dependency_job_id":null,"html_url":"https://github.com/TheLuckyCoder/Expandable-Card-View","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/TheLuckyCoder%2FExpandable-Card-View","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLuckyCoder%2FExpandable-Card-View/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLuckyCoder%2FExpandable-Card-View/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLuckyCoder%2FExpandable-Card-View/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheLuckyCoder","download_url":"https://codeload.github.com/TheLuckyCoder/Expandable-Card-View/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415922,"owners_count":20935385,"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-library","android-view","kotlin-android","kotlin-library"],"created_at":"2025-02-12T05:56:38.222Z","updated_at":"2025-04-05T23:44:19.515Z","avatar_url":"https://github.com/TheLuckyCoder.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Expandable CardView\n[![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14)\n[![Download](https://api.bintray.com/packages/theluckycoder/expandablecardview/expandable-cardview/images/download.svg) ](https://bintray.com/theluckycoder/expandablecardview/expandable-cardview/_latestVersion)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/vipulasri/Timeline-View/blob/master/LICENSE)\n\n## Sample Project\n\nFor an example: checkout [Sample App Code](https://github.com/TheLuckyCoder/Expandable-Card-View/tree/master/sample/src/main) in repository.\n\n## Quick Setup\n\n### 1. Include library\n\n**Using Gradle**\n\n```gradle\ndependencies {\n    implementation 'net.theluckycoder.expandablecardview:expandablecardview:1.2.0'\n}\n```\n\n**Using Maven**\n\n```maven\n\u003cdependency\u003e\n  \u003cgroupId\u003enet.theluckycoder.expandablecardview\u003c/groupId\u003e\n  \u003cartifactId\u003eexpandablecardview\u003c/artifactId\u003e\n  \u003cversion\u003e1.2.0\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n### 2. Usage\n * In XML Layout:\n```xml\n\u003cnet.theluckycoder.expandablecardview.ExpandableCardView\n    android:id=\"@+id/card\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    android:layout_marginTop=\"8dp\"\n    android:layout_marginBottom=\"8dp\"\n    android:layout_marginLeft=\"16dp\"\n    android:layout_marginRight=\"16dp\"\n    app:title=\"Card Title\"\n    app:description=\"Card Description\"\n    app:expanded=\"true\"\n    app:expand_duration=\"300\" /\u003e\n```\n\n* In Kotlin Code:\n```kotlin\nval card = findViewById\u003cExpandableCardView\u003e(R.id.card)\ncard.cardTitle = \"Card with Action\"\ncard.cardDescription = \"An expandable card with an action button\"\ncard.setAction(\"Action\", View.OnClickListener {\n    Toast.makeText(this, \"Button Clicked\", Toast.LENGTH_SHORT).show()\n})\n```\n\n## Documentation\nYou can find all the usable methods documented [here](https://github.com/TheLuckyCoder/Expandable-Card-View/blob/master/library/src/main/java/net/theluckycoder/expandablecardview/ExpandableCardView.kt)\n\n## License\n\n```\nCopyright 2019 The Lucky Coder\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%2Ftheluckycoder%2Fexpandable-card-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheluckycoder%2Fexpandable-card-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheluckycoder%2Fexpandable-card-view/lists"}