{"id":13428363,"url":"https://github.com/JetradarMobile/android-snowfall","last_synced_at":"2025-03-16T01:32:29.611Z","repository":{"id":49114959,"uuid":"77173879","full_name":"JetradarMobile/android-snowfall","owner":"JetradarMobile","description":"Fully customizable implementation of \"Snowfall View\" on Android.","archived":false,"fork":false,"pushed_at":"2021-06-28T12:24:09.000Z","size":13906,"stargazers_count":1171,"open_issues_count":8,"forks_count":173,"subscribers_count":32,"default_branch":"master","last_synced_at":"2024-10-28T07:46:50.751Z","etag":null,"topics":["android","animation","christmas","kotlin","snow"],"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/JetradarMobile.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-22T20:29:49.000Z","updated_at":"2024-10-08T13:38:54.000Z","dependencies_parsed_at":"2022-09-05T14:01:30.114Z","dependency_job_id":null,"html_url":"https://github.com/JetradarMobile/android-snowfall","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetradarMobile%2Fandroid-snowfall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetradarMobile%2Fandroid-snowfall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetradarMobile%2Fandroid-snowfall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetradarMobile%2Fandroid-snowfall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JetradarMobile","download_url":"https://codeload.github.com/JetradarMobile/android-snowfall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814900,"owners_count":20352037,"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","animation","christmas","kotlin","snow"],"created_at":"2024-07-31T01:00:54.549Z","updated_at":"2025-03-16T01:32:28.553Z","avatar_url":"https://github.com/JetradarMobile.png","language":"Kotlin","readme":"Android-Snowfall\n================\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Android--Snowfall-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/4952)\n[![Release](https://jitpack.io/v/jetradarmobile/android-snowfall.svg)](https://jitpack.io/#jetradarmobile/android-snowfall)\n[![API](https://img.shields.io/badge/API-16%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=16)\n[![AndroidWeekly](https://img.shields.io/badge/Android%20Weekly-%23238-blue.svg?style=flat)](http://androidweekly.net/issues/issue-238)\n[![AndroidDev Digest](https://img.shields.io/badge/AndroidDev%20Digest-%23124-blue.svg?style=flat)](https://www.androiddevdigest.com/digest-124/)\n\nFully customizable implementation of \"Snowfall View\" on Android.\n\nThat's how we use it in our app [Hotellook](https://play.google.com/store/apps/details?id=com.hotellook)\n\n![image](https://raw.githubusercontent.com/JetradarMobile/android-snowfall/master/art/hotellook-demo.gif)\n\n\nCompatibility\n-------------\n\nThis library is compatible from API 16 (Android 4.1).\n\n\nDownload\n--------\n\nAdd it in your root build.gradle at the end of repositories:\n\n```groovy\nallprojects {\n    repositories {\n        ...\n        maven { url \"https://jitpack.io\" }\n    }\n}\n```\n\nAdd the dependency\n\n```groovy\ndependencies {\n    compile 'com.github.jetradarmobile:android-snowfall:1.2.1'\n}\n```\n\n\nUsage\n-----\n\nDefault implementation with round snowflakes:\n\n```xml\n\u003ccom.jetradarmobile.snowfall.SnowfallView\n      android:layout_width=\"match_parent\"\n      android:layout_height=\"match_parent\"/\u003e\n```\n\nFully customized implementation:\n\n```xml\n\u003ccom.jetradarmobile.snowfall.SnowfallView\n      android:layout_width=\"match_parent\"\n      android:layout_height=\"match_parent\"\n      app:snowflakesNum=\"250\"\n      app:snowflakeAlphaMin=\"150\"\n      app:snowflakeAlphaMax=\"255\"\n      app:snowflakeAngleMax=\"5\"\n      app:snowflakeSizeMin=\"8dp\"\n      app:snowflakeSizeMax=\"32dp\"\n      app:snowflakeSpeedMin=\"4\"\n      app:snowflakeSpeedMax=\"12\"\n      app:snowflakesFadingEnabled=\"true\"\n      app:snowflakesAlreadyFalling=\"false\"\n      app:snowflakeImage=\"@drawable/snowflake\"/\u003e\n```\n\n\nLicense\n-------\n\n    Copyright 2016 JetRadar\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","funding_links":[],"categories":["Libraries","其他","开源库"],"sub_categories":["Android","UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJetradarMobile%2Fandroid-snowfall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJetradarMobile%2Fandroid-snowfall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJetradarMobile%2Fandroid-snowfall/lists"}