0

I'm working with custom device with FTP server. It is used to store media files - images and videos. In app those files are listed in RecyclerView. Item cell contains ImageView which is used as a thumbnail. To load image in thumbnails we are currently using Glide with custom ModelLoader in order to get InputStream (with ftpClient.retrieveFileStream) from files and then load it into ImageView.

My problem is that for longer videos (e.g. 15 minutes, ~110MB) it takes huge amount of time to load a thumbnail. I was wondering what can be done in order to speed this process up? Is not retrieving whole file a solution if possible at all?

otis_d
  • 71
  • 7

0 Answers0