Last active
July 14, 2020 10:26
-
-
Save anandwana001/634f72782d6da87d0b6d20d5c7e74100 to your computer and use it in GitHub Desktop.
Save image from network to external storage using Glide
Works well for me.
What AbuBallan said is true.
But the application get laggy and I get this when running it.
I/Choreographer: Skipped 296 frames! The application may be doing too much work on its main thread.
Do I need to load this code from AsyncTask or something?
getExternalStoragePublicDirectory is deprecated on Android Q
As a side note, placing .asBitmap()
after .load(...)
resulted in an error for me.
This error disappeared when I reversed the order.
Here's a StackOverflow question that addresses the issue I was facing.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not working