{"id":19860815,"url":"https://github.com/even201314/numbermorphview4android","last_synced_at":"2025-05-02T04:30:26.907Z","repository":{"id":201609167,"uuid":"59497908","full_name":"Even201314/NumberMorphView4Android","owner":"Even201314","description":null,"archived":false,"fork":false,"pushed_at":"2016-05-29T15:59:06.000Z","size":488,"stargazers_count":263,"open_issues_count":1,"forks_count":30,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T22:12:43.336Z","etag":null,"topics":["android"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Even201314.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-05-23T16:11:35.000Z","updated_at":"2024-07-26T17:41:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c1716cb-1cae-4da0-b088-8fa3391eef8f","html_url":"https://github.com/Even201314/NumberMorphView4Android","commit_stats":null,"previous_names":["even201314/numbermorphview4android"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Even201314%2FNumberMorphView4Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Even201314%2FNumberMorphView4Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Even201314%2FNumberMorphView4Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Even201314%2FNumberMorphView4Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Even201314","download_url":"https://codeload.github.com/Even201314/NumberMorphView4Android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251986618,"owners_count":21675950,"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"],"created_at":"2024-11-12T15:07:17.596Z","updated_at":"2025-05-02T04:30:26.603Z","avatar_url":"https://github.com/Even201314.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"NumberMorphView4Android\n======\n**NumberMorphView** for Android.\u003cbr/\u003e\nBased on (https://github.com/me-abhinav/NumberMorphView)\n\n#### Screenshot\n![](https://github.com/Even201314/NumberMorphView4Android/blob/master/raw/master/screenshot/sample.gif) \n\n\n### Download\nFirst, Add it in your root build.gradle at the end of repositories:\n```groovy\nallprojects {\n    repositories {\n        jcenter()\n        maven { url \"https://jitpack.io\" }\n    }\n}\n```\nThen,Add the dependency:\n```groovy\ncompile 'com.github.Even201314:NumberMorphView4Android:1.2.0'\n```\n\n## Usage\n* XML\n\nAdd TimerView to the xml file :\n```groovy\n        \u003ccom.even.numbermorphview.TimerView\n            android:id=\"@+id/numberMorphView\"\n            android:layout_width=\"52dp\"\n            android:layout_height=\"96dp\"\n            even:numBackgroundColor=\"#B6B6B6\"\n            even:numColor=\"#5D4037\"\n            even:strokeCap=\"SQUARE\"\n            even:strokeJoin=\"BEVEL\" /\u003e\n```\nthere are optional attributes to personalize the interface :\n\nColor : numColor, numBackgroundColor;\n\nDimension : strokeWidth;\n\nPaint Style : strokeCap(BUTT,ROUND,SQUARE), strokeJoin(MITER,ROUND,BEVEL);\n\n* Code\n\n```groovy\n            numberMorphView.interpolator = new TimerView.LinearInterpolator();\n            numberMorphView.setPeriod(1000);\n```\nWe support six Interpolators :\n\nLinearInterpolator, OvershootInterpolator, SpringInterpolator,\nBounceInterpolator, AnticipateOvershootInterpolator, CubicHermiteInterpolator;\n\nsetPeriod() to set the interval time of animation;\n\nIn this vesion 1.2.0, I use handler and message to achieve the timing, the code is in [sample](https://github.com/Even201314/NumberMorphView4Android/blob/master/sample/src/main/java/com/even/sample/MainActivity.java).\n\n## License\nNumberMorphView4Android is available under the MIT license. See the LICENSE file for more info.\n\n## Version \n* Version 1.2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feven201314%2Fnumbermorphview4android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feven201314%2Fnumbermorphview4android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feven201314%2Fnumbermorphview4android/lists"}