# WaitingDots [![](https://jitpack.io/v/tajchert/WaitingDots.svg)](https://jitpack.io/#tajchert/WaitingDots) [![](https://jitci.com/gh/tajchert/WaitingDots/svg)](https://jitci.com/gh/tajchert/WaitingDots) ![Loading animation](https://raw.githubusercontent.com/tajchert/WaitingDots/master/images/dotsLoadingAnimation.gif) Small library that provides... bouncing dots. This feature is used in number of messaging apps (such as Hangouts or Messenger), and lately in Android TV (for example when connecting to Wifi). ### Gradle depedency ```gradle implementation 'com.github.tajchert:WaitingDots:0.6.1' ``` Add Jitpack in your root build.gradle at the end of repositories: ```gradle allprojects { repositories { ... maven { url "https://jitpack.io" } } } ``` ### Example ```xml ... xmlns:dots="http://schemas.android.com/apk/res-auto" ... ``` All aditional parameters are optional. List of useful methods: ```java dots.stop(); dots.start(); dots.hide(); dots.show(); dots.hideAndStop(); dots.showAndPlay(); dots.isHide(); dots.isPlaying(); ``` ### Proguard ``` -dontwarn pl.tajchert.waitingdots.** -keep public class pl.tajchert.waitingdots.** { public protected private *; } ``` ### AndroidX and Kotlin Kotlin since version 0.6.1. AndroidX since 0.6.0. Last build without AndroidX: 0.5.2. ### Thanks goes to: [Polidea](https://www.polidea.com/) - time, atmosphere and motivation to create outstanding things. [Zielony](https://github.com/ZieIony) - many tips and initial commit. [Krzysztof Bielicki](https://github.com/krzysiekbielicki) - nice pull request that optimised performance and added text Appearance support (0.1.0 -> 0.2.0).