I need to get thubnail of audio file by url.
I found how I can do it for files in internal memory.
But how I can do it for remote audio files by URL? I have URL of file and I can get byte[] of file.
For remote images I do it this way:
content is byte[]
from server.
bitmap = Glide
.with(context)
.asBitmap()
.load(content)
.submit(size.getWidth(), size.getHeight())
.get();