{"id":24425895,"url":"https://github.com/PopPsyA/MagicTip","last_synced_at":"2025-09-30T21:30:32.800Z","repository":{"id":143507435,"uuid":"219478002","full_name":"PopPsyA/MagicTip","owner":"PopPsyA","description":"Simple as fuck💡","archived":false,"fork":false,"pushed_at":"2019-11-29T09:29:04.000Z","size":163,"stargazers_count":25,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T02:03:10.028Z","etag":null,"topics":["android","android-app","android-library","custom","custom-view","instagram","library","simple","textview","tooltip","tooltip-library","ui","view"],"latest_commit_sha":null,"homepage":"","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/PopPsyA.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":"2019-11-04T10:45:31.000Z","updated_at":"2024-08-07T05:27:47.000Z","dependencies_parsed_at":"2023-07-19T04:03:34.914Z","dependency_job_id":null,"html_url":"https://github.com/PopPsyA/MagicTip","commit_stats":null,"previous_names":["devit951/magictip"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FMagicTip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FMagicTip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FMagicTip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PopPsyA%2FMagicTip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PopPsyA","download_url":"https://codeload.github.com/PopPsyA/MagicTip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234779833,"owners_count":18885268,"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-app","android-library","custom","custom-view","instagram","library","simple","textview","tooltip","tooltip-library","ui","view"],"created_at":"2025-01-20T11:14:17.013Z","updated_at":"2025-09-30T21:30:32.386Z","avatar_url":"https://github.com/PopPsyA.png","language":"Kotlin","readme":"# MagicTip\n\n[![](https://jitpack.io/v/Devit951/MagicTip.svg)](https://jitpack.io/#Devit951/MagicTip)\n[![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-MagicTip-green.svg?style=flat )]( https://android-arsenal.com/details/1/7962 )\n![](https://ci5.googleusercontent.com/proxy/LLcEjp3PS_t4HrRKqAzo0HHMLRje-z8nWcFsO1sbhmlySW-Zhte3s8IC-TddsbqlFC9ZKHJwbvdwW0IHVhaiftfXX--Zr3_s5bhC8S5kT2EX11cgVXAnfmPyZn7jPk9b_v2CCixTWkwj=s0-d-e1-ft#https://github.com/vbauer/android-arsenal.com/raw/master/misc/android-arsenal-logo.png)\n\n![20191114_151821](https://user-images.githubusercontent.com/21290800/68848808-c1b5f080-06f2-11ea-8dee-d3ffaef86a9c.gif)\n\n\n## Simple MagicTip\n```\nMagicTip(anchorView)\n                    .settings {\n                        text = \"Lorem Posen\"\n                        bgColor = Color.RED\n                    }\n                    .show()\n             \n```\n\n## AutoCloseMagicTip\nAutoCloseMagicTip by default close tip after 1000 milliseconds. You can change it in the constructor: \n\n```\nAutoCloseMagicTip(anchorView, delayMillis)\n                    .settings {\n                        text = \"Lorem Posen\"\n                        bgColor = Color.GREEN\n                    }\n                    .show()\n ```              \n \n## OneMagicTip\nOneMagicTip - it is decorator that shows only 1 MagicTip.\n ```\n OneMagicTip(anchorView, MagicTip(anchorView)\n                    .settings {\n                        text = \"Lorem Posen\"\n                        bgColor = Color.BLUE\n                    })\n                    .show()\n ```\n \n## How to use animations?\nIn the `MagicTip.(view).settings{ }` block of code you have access to `startAnimationDelegate` and `exitAnimationDelegate`. \nDon't forget to set **Reversed** version of animation on `exitAnimationDelegate`. For example if `startAnimationDelegate = OvershootMagicTipAnimation()` then `exitAnimationDelegate = OvershootMagicTipAnimation.Reversed()`\n\nSet of animations: \n- AlphaMagicTipAnimation\n- OvershootMagicTipAnimation\n- ScaledTranslateMagicTipAnimation\n \n \n## Download \n`implementation 'com.github.Devit951:MagicTip:1.0.0'`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPopPsyA%2FMagicTip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPopPsyA%2FMagicTip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPopPsyA%2FMagicTip/lists"}