Popularity
1.8
Stable
Activity
0.0
Stable
44
6
4

Programming language: Kotlin
License: Apache License 2.0
Tags: Kotlin     Animations     Loading    

DialerLoading alternatives and similar packages

Based on the "Animations" category.
Alternatively, view DialerLoading alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of DialerLoading or a related project?

Add another 'Animations' Package

README

DialerLoading Android Arsenal Download

A rotary dialer loading view written in Kotlin.

Installtion

implementation "io.saeid:dialer-loading:1.0.0"

Usage

Add DialerLoadingView:

    <io.saeid.dialerloading.DialerLoadingView
        android:id="@+id/rotary_dialer"
        // optional attributes                                      
        app:dialer_background_color="@color/your_color"
        app:dialer_color_start="@color/your_color"
        app:dialer_color_end="@color/your_color"
        app:dialer_digit_color="@color/your_color"
        app:dialer_triangle_color="@color/your_color"
        app:dialer_duration="time in millis"
        .../>

To start loading, call dial method:

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:

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.


*Note that all licence references and agreements mentioned in the DialerLoading README section above are relevant to that project's source code only.