I need Video to play automatically in listview/scrollview, if view contains video. This is ver much similar with facebook. If user scrolls down and visible area contains video that system will play video and if still scroll then it automaticaly stops that video. It should work like one video should play at one time.
Can someone help me on this ?
sources I have gone through:
- Play video in Android listview
- How to automatically play video in listview on android app
- How to automatically play video in listview on android app
Thanks..!!
Please follow the points
RecyclerView
Then through the listener update your
RecyclerView
adapterFrom the adapter update the current visible view from
updateRow()
method.Job Done :)