Skip to content

Commit

Permalink
add online library dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
linsea committed Oct 23, 2015
1 parent ec80631 commit 68fd55b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ Open Danmaku is a Android widget which shows danmaku animation(https://github.co

*For a working implementation of this project see the sample app.*

1. Download the library source and refer it as a library project.

1. add library dependency to your `build.gradle` file.
```groovy
dependencies {
compile 'com.linsea:opendanmaku:1.0.0@aar'
}
```
2. Include the `DanmakuView` in your layout.
```xml
<com.opendanmaku.DanmakuView
Expand Down

0 comments on commit 68fd55b

Please sign in to comment.