2 Star 1 Fork 0

大熊 / VideoList

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

#效果图 输入图片说明

#使用范例

VideoListFragment videoListFragment = new VideoListFragment();
videoListFragment.setOnVideoItemClickListener(this);
getSupportFragmentManager().beginTransaction().replace(R.id.container, videoListFragment).commit();
@Override
    public void onVideoItemClick(AdapterView<?> parent, View view, int position, VideoInfo videoInfo) {
        //TODO:这里处理选择视频的操作 留给开发者 --示例调用系统方式打开视频
        Intent intent = new Intent(Intent.ACTION_VIEW);
        intent.setDataAndType(Uri.parse(videoInfo.path), "video/*");
        startActivity(intent);
    }

#待完善功能,多选视频功能,现在只能一次选择一个哦。

Comments ( 0 )

Sign in for post a comment

About

项目用到的选择本地视频的封装 spread retract
Android
Apache-2.0
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
Android
1
https://git.oschina.net/androidzk/VideoList.git
git@git.oschina.net:androidzk/VideoList.git
androidzk
VideoList
VideoList
master

Search