Home » Java » java – How to cache multiple videos from API in Android?-Exceptionshub

java – How to cache multiple videos from API in Android?-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment

Questions:

I trying to implement video caching in my project. There is a feed-in my project that consists of many images and videos that the users uploaded, I need to cache these media in my app. I got an idea of caching the images in-app, But still trying to figure out how to cache min of 10 videos from the API in android. All videos are coming from s3 AWS, My question is it possible to cache min 10 videos as the user viewing. When the user terminates app and restarts it, the cached videos and images need to show in the feed and when the network is true the feed needs to update. This is a live application. Is this possible? If it is, How to achieve this? Any suggestions would be helpful
DreamKatcher

How to&Answers: