{"id":13472028,"url":"https://github.com/Popalay/Tutors","last_synced_at":"2025-03-26T15:31:14.929Z","repository":{"id":91205998,"uuid":"78663994","full_name":"Popalay/Tutors","owner":"Popalay","description":"A simple way to show the user interface tutorials","archived":false,"fork":false,"pushed_at":"2017-06-28T16:01:23.000Z","size":9717,"stargazers_count":82,"open_issues_count":5,"forks_count":19,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-30T04:12:44.120Z","etag":null,"topics":["kotlin-android","showcase","tutorials"],"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/Popalay.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}},"created_at":"2017-01-11T17:49:22.000Z","updated_at":"2024-01-15T14:51:22.000Z","dependencies_parsed_at":"2023-03-05T03:45:38.875Z","dependency_job_id":null,"html_url":"https://github.com/Popalay/Tutors","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Popalay%2FTutors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Popalay%2FTutors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Popalay%2FTutors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Popalay%2FTutors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Popalay","download_url":"https://codeload.github.com/Popalay/Tutors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245681269,"owners_count":20655162,"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":["kotlin-android","showcase","tutorials"],"created_at":"2024-07-31T16:00:51.275Z","updated_at":"2025-03-26T15:31:14.324Z","avatar_url":"https://github.com/Popalay.png","language":"Java","readme":"[![Download](https://api.bintray.com/packages/popalay/maven/Tutors/images/download.svg) ](https://bintray.com/popalay/maven/Tutors/_latestVersion)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Tutors-orange.svg?style=flat)](https://android-arsenal.com/details/1/5075)\n[![API](https://img.shields.io/badge/API-14%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=14)\n[![License](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/Popalay/Tutors/blob/master/LICENSE)\n# Tutors\n\nA simple way to show the user interface tutorials.\n\n\u003cimg src=\"screenshots/demo-v1.0.4.gif?raw=true\" alt=\"\" width=\"240\" border=\"10\" /\u003e\n\n## Getting Started\n\n```groovy\ncompile 'com.github.popalay:tutors:latest-version'\ncompile 'com.github.popalay:tutors-kotlin:latest-version'\n```\n## Usage\n\n### From Java\n\n```java\nTutors tutors = new TutorsBuilder()\n                .textColorRes(android.R.color.white)\n                .shadowColorRes(R.color.shadow)\n                .textSizeRes(R.dimen.textNormal)\n                .completeIconRes(R.drawable.ic_cross_24_white)\n                .nextButtonTextRes(R.string.action_next)\n                .completeButtonTextRes(R.string.action_got_it)\n                .spacingRes(R.dimen.spacingNormal)\n                .lineWidthRes(R.dimen.lineWidth)\n                .cancelable(false)\n                .build();\n\ntutors.show(getSupportFragmentManager(), toolbar, \"It's a toolbar\", !iterator.hasNext());\n```\n\nSee [sample](sample/src/main/java/com/github/popalay/tutorssample/MainActivity.java).\n\n### From Kotlin\n\n```kotlin\nval tutors = Tutors.create {\n             textColorRes = android.R.color.white\n             shadowColorRes = R.color.shadow\n             textSizeRes = R.dimen.textNormal\n             completeIconRes = R.drawable.ic_cross_24_white\n             nextButtonTextRes = R.string.action_next\n             completeButtonTextRes = R.string.action_got_it\n             spacingRes = R.dimen.spacingNormal\n             lineWidthRes = R.dimen.lineWidth\n             cancelable = false\n}\n\ntutors.show(supportFragmentManager, view = toolbar, text = \"It's a toolbar\", isLast = true)\n```\n\nSee [sample](sample/src/main/kotlin/com/github/popalay/tutorssample/MainKotlinActivity.kt).\n\nLicense\n-----\n\n\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\tyou may not use this file except in compliance with the License.\n\tYou may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\n\tUnless required by applicable law or agreed to in writing, software\n\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\tSee the License for the specific language governing permissions and\n\tlimitations under the License.\n","funding_links":[],"categories":["Java","用户引导"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPopalay%2FTutors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPopalay%2FTutors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPopalay%2FTutors/lists"}