Code Monkey home page Code Monkey logo

yangfeng1994 / video-list-player Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 3.0 106 KB

使用RecyclerView+ExoPlayer 模仿抖音上下无缝滑动视频播放。没有使用ViewPager2的原因是Fragment太重,内存消耗太大。当有使用ViewPager2效果的时候,没有必要,可以选择这个方式,更轻量化。有一点需要注意,在有键盘弹出的界面,RecyclerView的 onScrollStateChanged 监听方法,键盘弹出时,会被触发调用demo中有配合使用ExoPlayer 进行视频上下分页播放

License: Apache License 2.0

Kotlin 83.50% Java 16.50%

video-list-player's People

Contributors

yangfeng1994 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

video-list-player's Issues

视频上下白边问题

老铁 item视频上下白边是不是很不好看 是什么原因啊,想用你这个项目。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.