Skip to content

Commit e850150

Browse files
committed
update README.md
1 parent 807c986 commit e850150

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ VideoListPlayer实现了在列表控件(ListView, RecyclerView)中加载并
99
![](./art/preview.gif)
1010

1111
#基本用法
12+
添加gradle依赖
13+
14+
repositories {
15+
maven { url "https://jitpack.io" }
16+
}
17+
18+
dependencies {
19+
compile 'com.github.waynell:VideoListPlayer:1.0'
20+
}
21+
1222
在xml布局中加入以下代码
1323

1424
<com.waynell.videolist.widget.TextureVideoView
@@ -78,9 +88,9 @@ VideoListPlayer实现了在列表控件(ListView, RecyclerView)中加载并
7888

7989

8090
#实现原理
81-
请参见我的博客[视频在滑动列表中的异步缓存和播放](http://blog.waynell.com/2016/03/21/video-loader/)
91+
请参见我的博客 [视频在滑动列表中的异步缓存和播放](http://blog.waynell.com/2016/03/21/video-loader/)
8292

8393

8494
#Thanks
8595
[VideoPlayerManager](https://github.com/danylovolokh/VideoPlayerManager)
86-
滑动自动播放/暂停的功能基于项目优化而来
96+
滑动自动播放/暂停的功能基于项目优化而来

0 commit comments

Comments
 (0)