{"id":21130115,"url":"https://github.com/iammert/MaskProgressView","last_synced_at":"2025-07-09T01:32:22.214Z","repository":{"id":94173182,"uuid":"45294052","full_name":"iammert/MaskProgressView","owner":"iammert","description":"Yet another android custom progress view for your music player","archived":false,"fork":false,"pushed_at":"2015-11-01T17:38:17.000Z","size":854,"stargazers_count":365,"open_issues_count":4,"forks_count":53,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-12T10:46:12.088Z","etag":null,"topics":[],"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/iammert.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}},"created_at":"2015-10-31T08:10:22.000Z","updated_at":"2024-06-27T13:03:06.000Z","dependencies_parsed_at":"2023-03-07T16:30:24.231Z","dependency_job_id":null,"html_url":"https://github.com/iammert/MaskProgressView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FMaskProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FMaskProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FMaskProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FMaskProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iammert","download_url":"https://codeload.github.com/iammert/MaskProgressView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476373,"owners_count":17480215,"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":[],"created_at":"2024-11-20T05:32:17.525Z","updated_at":"2024-11-20T05:32:24.735Z","avatar_url":"https://github.com/iammert.png","language":"Java","funding_links":[],"categories":["Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"# MaskProgressView\nYet another android custom progress view for your music player\n\n# Demo\n\u003cimg src=\"https://raw.githubusercontent.com/iammert/MaskProgressView/master/art/art.png\"/\u003e\n\n[Youtube Video Link](https://www.youtube.com/watch?v=9ysT9VmaNXU)\n\n# Usage\n\n```java\n \u003cco.mobiwise.library.MaskProgressView\n        ...\n        app:progressEmptyColor=\"#4E3C51\"\n        app:progressLoadedColor=\"#E91E64\"\n        app:coverMaskColor=\"#80000000\"\n        app:durationTextColor=\"#FFFFFF\"\n        app:durationTextSize=\"15sp\"\n        app:coverImage=\"@drawable/cover\"\n        app:placeHolder=\"@drawable/cover\"\n        app:progressHeight=\"4dp\"\n        app:maxProgress=\"40\"\n        app:currentProgress=\"23\"/\u003e\n```\n\n```java\nMaskProgressView maskProgressView = (MaskProgressView) findViewById(R.id.maskProgressView);\n```\n\n# Listeners\n```java\nmaskProgressView.setOnProgressDraggedListener(new OnProgressDraggedListener() {\n      @Override\n      public void onProgressDragged(int position) {\n          //update your mediaplayer with position\n      }\n\n      @Override\n      public void onProgressDragging(int position) {\n          //update your mediaplayer with position\n      }\n});\n```\n\n```java\nmaskProgressView.setAnimationCompleteListener(new AnimationCompleteListener() {\n      @Override\n      public void onAnimationCompleted() {\n          //Called when animation completed\n      }\n  });\n```\n\n# Control\n```java\nmaskProgressView.setmMaxSeconds(160); //set current track duration in seconds\nmaskProgressView.setCoverImage(Bitmap bitmap); //set cover image from loaded bitmap\nmaskProgressView.setCoverImage(R.drawable.{resource}); //set cover image from resource\nmaskProgressView.isPlaying() // Check if playing\nmaskProgressView.start(); // start or resume animation\nmaskProgressView.pause(); // pause animation\nmaskProgressView.stop(); //stop animation clears current progress\n```\n\n# Import\nProject build.gradle\n\n```\nrepositories {\n    maven {\n        url \"https://jitpack.io\"\n    }\n}\n```\n\nModule build.gradle\n```\ndependencies {\n  compile 'com.github.iammert:MaskProgressView:1.0'\n}\n```\n\n# Design Owner\n\nThis design is originally shared by [Dawid Dapszus](https://twitter.com/@Dapszus) on [Dribbble](https://dribbble.com/shots/2159130-CrowdPlayer-Android-app) and [MaterialUp](https://www.materialup.com/posts/crowdplayer-sketch-freebie).\nThanks to [him](https://twitter.com/@Dapszus) such a creative designer.\n\nLicense\n--------\n\n\n    Copyright 2015 Mert Şimşek.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammert%2FMaskProgressView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiammert%2FMaskProgressView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammert%2FMaskProgressView/lists"}