https://github.com/saeedmasoumi/dialerloading
A Rotary Dialer loading for Android.
https://github.com/saeedmasoumi/dialerloading
android kotlin loading-animation
Last synced: 8 months ago
JSON representation
A Rotary Dialer loading for Android.
- Host: GitHub
- URL: https://github.com/saeedmasoumi/dialerloading
- Owner: SaeedMasoumi
- License: apache-2.0
- Created: 2018-08-31T19:12:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T11:24:20.000Z (over 7 years ago)
- Last Synced: 2025-04-05T10:51:10.817Z (about 1 year ago)
- Topics: android, kotlin, loading-animation
- Language: Kotlin
- Homepage:
- Size: 1.2 MB
- Stars: 44
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DialerLoading []( https://android-arsenal.com/details/1/7177 )[  ](https://bintray.com/smasoumi/maven/dialer-loading/_latestVersion)
A rotary dialer loading view written in Kotlin.
## Installtion
```
implementation "io.saeid:dialer-loading:1.0.0"
```
## Usage
Add `DialerLoadingView`:
```xml
```
To start loading, call `dial` method:
```kotlin
rotary_dialer.dial(
endless = true // enable endless mode (default is true)
digits = arrayIntOf(1,2,3) // numbers to dial
)
```
To stop loading, call `hangUp` method:
```kotlin
rotary_dialer.hangUp()
```
## Credits
Inspired by : https://www.uplabs.com/posts/dailer-loading-microinteraction
## License
```
Copyright 2018 Saeed Masoumi.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```