I want to implement slideshow of videos and images. When app is opened it should start with slideshow of images and in between some videos to play, when a video is playing, the slideshow should stops sliding and when video has finished the slideshow starts sliding again.Are there any ways to do it? I am new to android, please help me out
There is a very useful library that lets you do this - https://github.com/marvinlabs/android-slideshow-widget
You can also see a working demo of this library - https://play.google.com/store/apps/details?id=com.marvinlabs.widget.slideshow.demo
If you want to implement the logic yourself, you can make the use of a timer and change the image references in the image view.