Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/razaghimahdi/raininglightsanimation
RainingLights is a library designed to bring beautiful, dynamic loading animations to your Android apps using Jetpack Compose.
https://github.com/razaghimahdi/raininglightsanimation
android-library animation animation-library background compose jetpack jetpack-compose kotlin kotlin-android kotlin-library library live-wallpaper solar-system space stars wallpaper
Last synced: 5 days ago
JSON representation
RainingLights is a library designed to bring beautiful, dynamic loading animations to your Android apps using Jetpack Compose.
- Host: GitHub
- URL: https://github.com/razaghimahdi/raininglightsanimation
- Owner: razaghimahdi
- License: apache-2.0
- Created: 2023-03-24T17:25:56.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-26T07:57:20.000Z (over 1 year ago)
- Last Synced: 2024-11-08T18:52:32.502Z (about 2 months ago)
- Topics: android-library, animation, animation-library, background, compose, jetpack, jetpack-compose, kotlin, kotlin-android, kotlin-library, library, live-wallpaper, solar-system, space, stars, wallpaper
- Language: Kotlin
- Homepage: https://github.com/razaghimahdi/RainingLightsAnimation
- Size: 4.51 MB
- Stars: 35
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# Raining Lights
RainingLights is a library designed to bring beautiful, dynamic loading animations to your Android apps using Jetpack Compose.
This project is a showcase for a library developed in **Kotlin Jetpack Compose**,
whose main feature is the ability to have a live raining light background.The library is easy to implement and use,
providing developers with a simple API to add a live raining light background to their applications.
This project serves as a showcase for the RainingLights library,
providing users with a working example of the library's implementation.
The app is designed using modern principles and the latest Android development frameworks,
including Jetpack Compose and Material Design components.## Give a Star! ⭐
If you like or are using this project to learn or start your solution, please give it a star. Thanks!| MainScreen | DetailScreen |
| :---: | :---: |
| | |To use the library in your own project, follow these steps:
[![Raining Light](https://jitpack.io/v/razaghimahdi/RainingLightsAnimation.svg)](https://jitpack.io/#razaghimahdi/RainingLightsAnimation)
### Step 1. Add it in your project-level `build.gradle` or `settings.gradle` file:
Add the following code to your project-level build.gradle or settings.gradle file:allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}### Step 2. Add the dependency
Add the following dependency to your app-level build.gradle file:dependencies {
implementation 'com.github.razaghimahdi:RainingLightsAnimation:1.0.2'
}### Step 3. How to use
To use the library, simply create a RainingLightsBox composable function and wrap your existing content inside it,
as shown in the example code below:
```kotlinRainingLightsBox(
modifier = Modifier
.fillMaxSize()
.background(color = MaterialTheme.colors.background)
) {
// content
}```
That's it! With these simple steps, you can now add beautiful, dynamic loading animations to your Android apps using the RainingLights library.https://user-images.githubusercontent.com/61207818/227785925-3350e972-d96d-49cb-a056-10d5ad5cd5a0.mp4
Developed by Mahdi Razzaghi Ghaleh