<commit_before>Glass GDK Progressbar
=====================

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.prt2121/ProgressBar/badge.png?style=flat)](https://maven-badges.herokuapp.com/maven-central/cz.jirutka.rsql/rsql-parser)

[![Build Status](https://travis-ci.org/prt2121/glass-gdk-progressbar.svg?branch=master)](https://travis-ci.org/prt2121/glass-gdk-progressbar)

Painless ProgressBar for Glass GDK!

###Including In Your Project

#####Gradle
```
compile 'com.github.prt2121:ProgressBar:1.0@aar'
```

###Usage

```java
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my);
        mSliderView = (SliderView) findViewById(R.id.slider);
        mSliderView.startProgress(5 * 1000, animatorListener); // 5 seconds with listener
        // mSliderView.startProgress(5 * 1000); // 5 seconds without listener
        // mSliderView.startIndeterminate();
    }
```


**Changing the color in xml**

<commit_msg>Add Maven badge<commit_after>Glass GDK Progressbar
=====================

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.prt2121/ProgressBar/badge.png)](https://maven-badges.herokuapp.com/maven-central/cz.jirutka.rsql/rsql-parser)

[![Build Status](https://travis-ci.org/prt2121/glass-gdk-progressbar.svg?branch=master)](https://travis-ci.org/prt2121/glass-gdk-progressbar)

Painless ProgressBar for Glass GDK!

###Including In Your Project

#####Gradle
```
compile 'com.github.prt2121:ProgressBar:1.0@aar'
```

###Usage

```java
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my);
        mSliderView = (SliderView) findViewById(R.id.slider);
        mSliderView.startProgress(5 * 1000, animatorListener); // 5 seconds with listener
        // mSliderView.startProgress(5 * 1000); // 5 seconds without listener
        // mSliderView.startIndeterminate();
    }
```


**Changing the color in xml**


{'fraction_non_alphanumeric': 0.1646720919100048, 'fraction_numerical': 0.028721876495931067, 'mean_word_length': 4.345268542199489, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1579941', 'n_tokens_mistral': 755, 'n_tokens_neox': 684, 'n_words': 102}