{"id":13396072,"url":"https://github.com/gelitenight/WaveView","last_synced_at":"2025-03-13T22:31:38.908Z","repository":{"id":41377509,"uuid":"41726569","full_name":"gelitenight/WaveView","owner":"gelitenight","description":"waveview for android","archived":false,"fork":false,"pushed_at":"2018-10-26T05:22:09.000Z","size":905,"stargazers_count":1585,"open_issues_count":15,"forks_count":325,"subscribers_count":50,"default_branch":"master","last_synced_at":"2024-07-31T18:16:26.451Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gelitenight.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":"2015-09-01T08:29:03.000Z","updated_at":"2024-06-27T13:00:53.000Z","dependencies_parsed_at":"2022-09-05T11:20:53.161Z","dependency_job_id":null,"html_url":"https://github.com/gelitenight/WaveView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gelitenight%2FWaveView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gelitenight%2FWaveView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gelitenight%2FWaveView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gelitenight%2FWaveView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gelitenight","download_url":"https://codeload.github.com/gelitenight/WaveView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243493790,"owners_count":20299720,"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-07-30T18:00:39.024Z","updated_at":"2025-03-13T22:31:38.472Z","avatar_url":"https://github.com/gelitenight.png","language":"Java","readme":"[中文介绍](https://www.jianshu.com/p/e711e22e053e)\n\n# WaveView\nA view to display wave effect.\n\n## Screenshot\n![Screenshot](screenshot.gif)\n\n## Integration\n```\nimplementation 'com.gelitenight.waveview:waveview:1.0.0'\n```\n\nSetter methods:\n * `setWaveShiftRatio` - Shift the wave horizontally.\n * `setWaterLevelRatio` - Set water level.\n * `setAmplitudeRatio`  - Set vertical size of wave.\n * `setWaveLengthRatio` - Set horizontal size of wave.\n\nYou can use [Property Animation](https://developer.android.com/guide/topics/graphics/prop-animation.html) to animate WaveView.\n```\n// horizontal animation.\n// wave waves infinitely.\nObjectAnimator waveShiftAnim = ObjectAnimator.ofFloat(\n        mWaveView, \"waveShiftRatio\", 0f, 1f);\nwaveShiftAnim.setRepeatCount(ValueAnimator.INFINITE);\nwaveShiftAnim.setDuration(1000);\nwaveShiftAnim.setInterpolator(new LinearInterpolator());\n\n// vertical animation.\n// water level increases from 0 to center of WaveView\nObjectAnimator waterLevelAnim = ObjectAnimator.ofFloat(\n        mWaveView, \"waterLevelRatio\", 0f, 0.5f);\nwaterLevelAnim.setDuration(10000);\nwaterLevelAnim.setInterpolator(new DecelerateInterpolator());\nanimators.add(waterLevelAnim);\n\n// amplitude animation.\n// wave grows big then grows small, repeatedly\nObjectAnimator amplitudeAnim = ObjectAnimator.ofFloat(\n        mWaveView, \"amplitudeRatio\", 0f, 0.05f);\namplitudeAnim.setRepeatCount(ValueAnimator.INFINITE);\namplitudeAnim.setRepeatMode(ValueAnimator.REVERSE);\namplitudeAnim.setDuration(5000);\namplitudeAnim.setInterpolator(new LinearInterpolator());\nanimators.add(amplitudeAnim);\n```\n\n---\n\n### 打个广告\n美团平台及酒旅事业群招人啦，欢迎加入我们！\n我可以帮忙内推，简历请发到我邮箱\u003cgelitenight@gmail.com\u003e\n\u003e【美团网】高级Android开发工程师\n\u003e 工作内容: 负责美团酒店、旅游产品 Android 客户端的设计、开发与改进。\n\u003e 1. 3年以上工作经验，2年以上Android开发经验；\n\u003e 2. 熟悉Android系统，熟悉Android软件的开发、测试、分发流程；\n\u003e 3. 良好的编程风格，扎实的编程基础和数据结构算法基础；\n\u003e 4. 熟悉移动网络的特性，对网络编程和常用网络协议有较深刻理解和经验；\n\u003e 5. 有一定的架构设计能力，良好的编码能力，编写文档能力；\n\u003e 6. 热爱互联网和新技术，具有极强的快速学习能力；\n\u003e 7. 有以下特征优先考虑：\n\u003e     * 有开源作品或技术博客（需原创技术文章）；\n\u003e     * 熟悉Socket编程。\n\n北京、上海、厦门、成都都有职位，更多职位请见[职位列表](https://job.meituan.com/job-list?city=001001\u0026department=5\u0026jobFamily=26\u0026pageNo=1)。\n","funding_links":[],"categories":["Index `(light-weight pages)`","Wave","Index"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgelitenight%2FWaveView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgelitenight%2FWaveView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgelitenight%2FWaveView/lists"}