<commit_before># InkPageIndicator

InkPageIndicator created by @nickbutcher for Plaid https://github.com/nickbutcher/plaid and backported by me for API 16+ (4.1+)

![InkPageIndicator Preview](http://giant.gfycat.com/AbleEmbellishedKillerwhale.gif)

 [ ![Download](https://api.bintray.com/packages/davidpacioianu/maven/ink-page-indicator/images/download.svg) ](https://bintray.com/davidpacioianu/maven/ink-page-indicator/_latestVersion)

# Usage

```gradle
dependencies {
    compile 'com.pacioianu.david:ink-page-indicator:1.0.1'
}
```

```xml
<com.davidpacioianu.inkpageindicator.InkPageIndicator
  android:id="@+id/indicator"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"/>
```

or with custom attributes:
```xml
<com.davidpacioianu.inkpageindicator.InkPageIndicator
  android:id="@+id/indicator"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  app:dotDiameter="8dp"
  app:dotGap="8dp"
  app:animationDuration="300"
  app:pageIndicatorColor="@color/gray"
  app:currentPageIndicatorColor="@color/black"/>
```
 and 
 
```java<commit_msg>Update to Version 1.0.1 with major fixes<commit_after># InkPageIndicator

InkPageIndicator created by @nickbutcher for Plaid https://github.com/nickbutcher/plaid and backported by me for API 16+ (4.1+)

![InkPageIndicator Preview](http://giant.gfycat.com/AbleEmbellishedKillerwhale.gif)

 [ ![Download](https://api.bintray.com/packages/davidpacioianu/maven/ink-page-indicator/images/download.svg) ](https://bintray.com/davidpacioianu/maven/ink-page-indicator/_latestVersion)

# Usage

```gradle
dependencies {
    compile 'com.pacioianu.david:ink-page-indicator:1.0.1'
}
```

```xml
<com.davidpacioianu.inkpageindicator.InkPageIndicator
  android:id="@+id/indicator"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"/>
```

or with custom attributes:
```xml
<com.davidpacioianu.inkpageindicator.InkPageIndicator
  android:id="@+id/indicator"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  app:dotDiameter="8dp"
  app:dotGap="8dp"
  app:animationDuration="320"
  app:pageIndicatorColor="@color/gray"
  app:currentPageIndicatorColor="@color/black"/>
```
 and 
 
```java
{'fraction_non_alphanumeric': 0.14651685393258426, 'fraction_numerical': 0.012134831460674157, 'mean_word_length': 6.545762711864406, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '586311', 'n_tokens_mistral': 843, 'n_tokens_neox': 796, 'n_words': 99}