File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff 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+ 滑动自动播放/暂停的功能基于项目优化而来
You can’t perform that action at this time.
0 commit comments