Loading and caching images | Glide Library | Android
HTML-код
- Опубликовано: 31 июл 2024
- This is an easy video about loading and caching images using a library called Glide by bumptech.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/get-kite/?...
FREE $100 credit @Digital Ocean: m.do.co/c/3208f08b3324
Patreon: / trulymittal
Subscribe: ruclips.net/user/yourstruly2...
Github(Tutorial): github.com/trulymittal/GlideA...
Glide(GitHub): github.com/bumptech/glide
Glide(Docs): bumptech.github.io/glide/
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#yoursTruly #glide #images #java #programming #tutorial #howto #glide-library
We can't go back without subscribing. Great content.
What a clean and precise video. Subbed
how we can use Gif pic as aplaceholder???
Thanks, this helped me a lot.
Subscribe like share😊
Thank you so much :)
Sir i have like 130+ images in 1 activity and if all the images are loaded it will start laggy i also try compressing the and image and reduce its still the same is there a tips?
I am using sketchware
what about API gives us JSON object ?
Please make video about this ! [ when we use volley and Glide to load images]
Thanks in advance :)
perfect, the caching work. 22-04-2020
Subscribe like share
Hi, I have fetched images from api and loaded into the imageview(which is in recycler view). I want to store images in cache so that i can view them later without using internet. how can i do that?
How can I convert the image into bitmap object? I need to use it to extract text using firebase ml kit.
use the bitmapfactory
hi, I'm using Glide to get images of the music covers, but it is very slow, these cache functions that you show in the video don't work here. Do you have any other tips?
I am not sure why they are not working, and I don't get why cache does not work?
What if the url is always the same like 1.jpg but that image changes from times
Hello my friend, great video but I need to step it up a bit.
I'm creating pdfs with my app and the only problem that I'm having is inserting images in the documents because I have only access to them through url addresses.
So my question is how do I safely obtain a bitmap to put in the pdf document from the URL address?
I feel like the problem is that the generation of the bitmap from the url is slower than the creation of the pdf and this lead to a crash. So how do I obtain a bitmap (and how do I check it in the code that that bitmap exists (maybe a while loop) before than creating the pdf with the bitmab in it.
Thanks in advance for your help and god bless you
Sir but I was looking for video In which if you restart activity it shows a same photo even if there is no network that of website in freebase project
Jivan Mainali m2 bro!
this does that for me. i disconnect my emulator from internet and image still loads up
I have local uri , should i have better to caching to load faster, because its little slow to make tab smoother??
check the size of your image...no point caching local uri
Thank you :)
thanks sir
What is glide disk cache??
I am using Picasso library now. Is it possible to reduce the size of image without loosing much quality with Glide?
Size is reduced server side
thank yku
This video is helped me for my project .. thank you , I have question .. How can insert image to firebase in android studio and retrieve the image from the firebase by using glide ??
This series will help you: ruclips.net/p/PLdHg5T0SNpN3-dPWdHlgu9lU3JnksBoHc
sir i need a perfect way of loading and resizing image from phone can u help me.
This is the perfect way of loading and resizing images in android application
@@mafiacodes thanks sir.
I tried picasso but that is not caching images
When I put id of image in the glide.with.load.into()
It's showing error
Then I pressed Alt + Enter but there is no import option available
What can I do ?
i am facing the same issue did you find any solution
@@085-vaibhavgusain9 not yet
@@adityamadbhavi5081 I found it, I can help u
@@085-vaibhavgusain9 Yes please
@@adityamadbhavi5081 val imageview : ImageView = findViewById(R.id.imageView)
what if it's an svg you want to load
It should load probably
Bro I need to load images speedy like Instagram help me bro
sir image is not loading by glide
most likely issue with your url,
Any options in android phone
Like what options?
In totok glidecache file how to open
Bro one more think o want to ask can you tel me imo deleted voice audio where to get plz help
It's help in fast video playing in android ?
Glide is for images
@@mafiacodes Any Suggestion for fast video Play Video comes from Server
Use exo lib
@@mafiacodes thanks Sir Can you make video on it exo dependency
Hi may i know how to clear disk cache?
bumptech.github.io/glide/javadocs/450/com/bumptech/glide/Glide.html#clearDiskCache-- use this link and call clearDiskCache()
yoursTRULY Thanks but what means by call on background thread ? Can i create a button for clear disk cache using method clearDiskCache()?
I hope so yes, never tried u can
yoursTRULY Tried and working good thanks