Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/razaghimahdi/android-loading-dots

A library which allows you to have some beautiful loading with dots, for both Java and Kotlin in XML
https://github.com/razaghimahdi/android-loading-dots

android android-library custom-view java kotlin kotlin-android loading loading-animations loading-indicator progress-circle xml

Last synced: 3 months ago
JSON representation

A library which allows you to have some beautiful loading with dots, for both Java and Kotlin in XML

Awesome Lists containing this project

README

        

# Android-Loading-Dots

A library which allows you to have some beautiful loading with dots, for both Java and Kotlin in XML,

> If you need **Jetpack Compose** version of this library then click [here](https://github.com/razaghimahdi/Compose-Loading-Dots).

## Give a Star! ⭐
If you like or are using this project to learn or start your solution, please give it a star. Thanks!

[![](https://jitpack.io/v/razaghimahdi/Android-Loading-Dots.svg)](https://jitpack.io/#razaghimahdi/Android-Loading-Dots)

### Step 1. Add it in your project-level `build.gradle` or `settings.gradle` file:

allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}

### Step 2. Add the dependency

dependencies {
implementation 'com.github.razaghimahdi:Android-Loading-Dots:1.3.2'
}

### Step 3. How to use

**XML:**

```xml

```

### Step 4. How to initial

```java
LoadingWavy LoadingWavy=findViewById(R.id.loadingWavy);
LoadingWavy.setSize(30);
LoadingWavy.setDotsCount(3);
LoadingWavy.setDuration(400);
LoadingWavy.setColor(Color.parseColor("#FF3700B3"));
```

OR

```kotlin
val LoadingWavy: LoadingWavy = findViewById(R.id.loadingWavy)
LoadingWavy.setSize(30)
LoadingWavy.setDotsCount(3)
LoadingWavy.setDuration(400)
LoadingWavy.setColor(Color.parseColor("#FF3700B3"))
```

https://user-images.githubusercontent.com/61207818/214298326-3f5d8aa2-38c5-4dab-ab5f-695639f5ff0f.mp4

Developed by Mahdi Razzaghi Ghaleh