Skip to content

Commit

Permalink
Release 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
neworld committed Aug 8, 2017
1 parent 4880033 commit c7a0e0a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![](https://jitpack.io/v/neworld/spanner.svg)](https://jitpack.io/#neworld/spanner)

This lib provides simple and fluent API for creating [Android Spannable](https://developer.android.com/reference/android/text/Spannable.html).
Features:
- Simple and fluent API
Expand Down Expand Up @@ -37,6 +39,19 @@ Spannable spannable = new Spanner("The quick brown fox jumps over the lazy dog")
.insert(5, "foo", bold(), italic() /* any number of spans */)
.append("bar", underline() /* any number of spans */);
```
#### How to use
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.neworld:spanner:0.1'
}
```

#### License

Expand Down

0 comments on commit c7a0e0a

Please sign in to comment.