Comments (3)
@trileduy The implementation might varies due to the use case. In FacebookTimelineActivity, after clicking to a Video item, it open the "Related Videos list" which is a DialogFragment. I setup the callback pattern so that after the DialogFragment is attached, I will unregister the RecyclerView in "FacebookTimelineActivity", and re-register the RecyclerView after the DialogFragment dismiss.
See this, this, this and this.
from toro.
@eneim Thanks for your answer, i got it.
- But in my use case. I want pause/resume play video when click to a Video item. I can pause video but can' resume it. Please help me what is the solution!
- Case : open the "Related Videos list". I want to do it when click to a other item.
from toro.
@trileduy Hi there, you can see how I handle the "long click" here with your expected behaviour.
Regarding your second point, I didn't get what you wanted to mention here. If your requirement is the same with my FacebookTimelineSample here, you can use its idea, other than that, please tell me more so I can help.
from toro.
Related Issues (20)
- [Feature Request] Make Player attached to lifecycle HOT 2
- how to set player for a specific position in a container HOT 1
- Initialize() in VideoViewHolder is not getting called.
- Videos Start Playing onScroll even after pausing it manually in Container. HOT 3
- Loop video HOT 1
- Using Toro + ExoPlayer in Dynamic Feature Module HOT 1
- Pre-caching/Downloading progressive streams in ExoPlayer HOT 1
- App is crashing with the following error
- App is crashing with the following error HOT 5
- How to use ToroExoplayer inside view pager which is inside a container? HOT 1
- Custom MediaSource
- Hi,
- Video was playing continously in background even after opening bottom sheet
- Audio is playing but video shows black screen HOT 1
- [Bug report] Hls videos always picks the Highest quality stream intially HOT 5
- [Bug report] Crashed app com.google.android.exoplayer2.trackselection.DefaultTrackSelector HOT 2
- Wiki update
- Getting errors when running the project. HOT 10
- com.google.android.exoplayer2.video.VideoListener was removed in ExoPlayer 2.16.0, making this library incompatible HOT 2
- How to autoplay video viewpager (contain image/video) inside recyclerview
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toro.