{"id":19651345,"url":"https://github.com/dimorinny/show-case-card-view","last_synced_at":"2025-07-07T00:33:44.711Z","repository":{"id":65697563,"uuid":"94024222","full_name":"dimorinny/show-case-card-view","owner":"dimorinny","description":"Show case card view","archived":false,"fork":false,"pushed_at":"2023-02-05T03:03:44.000Z","size":2731,"stargazers_count":147,"open_issues_count":1,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-24T17:54:08.610Z","etag":null,"topics":["android","library","view"],"latest_commit_sha":null,"homepage":"","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/dimorinny.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":"2017-06-11T18:37:16.000Z","updated_at":"2023-04-01T13:13:56.000Z","dependencies_parsed_at":"2023-02-18T21:31:09.402Z","dependency_job_id":null,"html_url":"https://github.com/dimorinny/show-case-card-view","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimorinny%2Fshow-case-card-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimorinny%2Fshow-case-card-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimorinny%2Fshow-case-card-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimorinny%2Fshow-case-card-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimorinny","download_url":"https://codeload.github.com/dimorinny/show-case-card-view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251345925,"owners_count":21574807,"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","library","view"],"created_at":"2024-11-11T15:06:16.380Z","updated_at":"2025-04-28T16:31:24.350Z","avatar_url":"https://github.com/dimorinny.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Demo](https://github.com/dimorinny/show-case-card-view/blob/master/art/demo.gif?raw=true)\n\n[![](https://jitpack.io/v/dimorinny/show-case-card-view.svg)](https://jitpack.io/#dimorinny/show-case-card-view)\n\n## Dependency\n\nFirstly, add Jitpack repository in your root build.gradle file (not your module build.gradle file):\n\n```\nallprojects {\n    repositories {\n        ...\n        maven { url \"https://jitpack.io\" }\n    }\n}\n```\n\nAdd dependency to your module's build.gradle file:\n\n```\ndependencies {\n    implementation 'com.github.dimorinny:show-case-card-view:0.0.4'\n}\n```\n\n## Usage\n\nYou can display a ShowCase on your activity or fragment using the below code.\n\nTo display a list of (click-through) steps:\n```java\nnew ShowCaseStepDisplayer.Builder(MainActivity.this)\n    .addStep(new ShowCaseStep(new Center(), \"Message at center\"))\n    .addStep(new ShowCaseStep(view, \"Message at View\"))\n    .build().start();\n```\n\nUse withScrollView() if some step's target Views could be inside a ScrollView, they will be auto-scrolled to:\n\n```java\nnew ShowCaseStepDisplayer.Builder(MainActivity.this)\n    .withScrollView(scrollView)\n    .addStep(new ShowCaseStep(view, \"Message at View to scroll to\"))\n    .addStep(new ShowCaseStep(new TopLeft(), \"Message at TopLeft\"))\n    .build().start();\n```\n\nTo display a single item:\n\n```java\nnew ShowCaseView.Builder(MainActivity.this)\n    .withTypedPosition(new TopLeft())\n    .withTypedRadius(new Radius(186F))\n    .withContent(\"This is hello world!\")\n    .build()\n    .show(this);\n```\n\n**Available positions:**\n\n* `Position(PointF position)`\n* `TopLeft()`\n* `TopRight()`\n* `BottomLeft()`\n* `BottomRight()`\n* `TopLeftToolbar()`\n* `TopRightToolbar()`\n* `ViewPosition(View view)`\n* `Center()`\n* `BottomCenter()`\n\n**Available radiuses:**\n\n* `Radius(float radius)`\n* `ViewRadius(View view)`\n\nFor more complicated usage - see [example](https://github.com/dimorinny/show-case-card-view/blob/master/app/src/main/java/ru/dimorinny/showcasesample/MainActivity.java).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimorinny%2Fshow-case-card-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimorinny%2Fshow-case-card-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimorinny%2Fshow-case-card-view/lists"}