Coil - Image Loading Library with Jetpack Compose

  Рет қаралды 25,816

Stevdza-San

Stevdza-San

Күн бұрын

Пікірлер: 67
@homayoonahmadi77
@homayoonahmadi77 2 жыл бұрын
The 2.1.0 version of coil-compose library has a AsyncImage function that is very easy to use!
@StevdzaSan
@StevdzaSan 2 жыл бұрын
Yes, you can check my new video: kzbin.infoyu29LxHc5Jo?feature=share
@farshad462
@farshad462 2 жыл бұрын
@@StevdzaSan please consider make a video like this ,about using coil 2.0.0
@shanzaeorangzaib8234
@shanzaeorangzaib8234 2 жыл бұрын
@@StevdzaSan I started to learn jetpack compose first so it's ok for me as a beginner that i continue to learn jetpack compose and then get knowledge of xml or it's necessary that i should learn xml first
@StevdzaSan
@StevdzaSan 2 жыл бұрын
@@shanzaeorangzaib8234 You don't need the knowledge of an XML if you're learning Jetpack Compose. :)
@shanzaeorangzaib8234
@shanzaeorangzaib8234 2 жыл бұрын
@@StevdzaSan thanks for your reply and guidance
@yendys74
@yendys74 3 жыл бұрын
Finallly Someone i Trust is doing a JetPack Compose
@wilkq1110
@wilkq1110 Жыл бұрын
bro, always when I look for something I find answers here, Thank you
@raffyrey9604
@raffyrey9604 Жыл бұрын
This playlist is so cool thankyou so much
@flavouredflight8628
@flavouredflight8628 3 жыл бұрын
Tq Very Much Bro🤗, Was Looking At This Particular Docs Moment Ago And This Video's Notification Came♥️
@StevdzaSan
@StevdzaSan 3 жыл бұрын
Righ on time 👌
@bro_chenzox
@bro_chenzox 3 жыл бұрын
Wow! Stunning issue! Thank you for your time and endeavors!
@StevdzaSan
@StevdzaSan 3 жыл бұрын
Glad to help!
@putinstop5940
@putinstop5940 3 жыл бұрын
*Perfecto il amico, чын айтсам, кыйын экенсин жигар*
@hadjsaidaoumer3058
@hadjsaidaoumer3058 Жыл бұрын
Thank yooooooooooou the best one 👌👌👌👌👌👌👌👌👌👌
@rawhasan1180
@rawhasan1180 3 жыл бұрын
Great tutorial, thanks! Want to more compose tutorials.
@StevdzaSan
@StevdzaSan 3 жыл бұрын
Yeah, from now on I'll create video tutorials mostly by using Jetpack Compose 👊✋
@rawhasan1180
@rawhasan1180 3 жыл бұрын
@@StevdzaSan That would be great!
@rahathossainhimel7177
@rahathossainhimel7177 3 жыл бұрын
Thank You ❤️
@decepticonWave
@decepticonWave 2 жыл бұрын
Amazing Video. Thanks for the video. Keep up the good work
@vapecat
@vapecat 3 жыл бұрын
Just right when I need it, thank you
@digitalluxury2033
@digitalluxury2033 2 жыл бұрын
Professional ... thanks a loooot
@ahmadab9666
@ahmadab9666 2 жыл бұрын
thanks alot
@CFundDOnoob
@CFundDOnoob 3 жыл бұрын
Thanks for the nice explanation! Is it possible to load local images via URI too? The documentation doesn't give much information about that 😬
@somdatatechnology233
@somdatatechnology233 3 жыл бұрын
Thanks you are amazing, could you tell me full jetpack compose documentation?
@xenatronics393
@xenatronics393 3 жыл бұрын
very helpfull, thanks again!
@ifedayoadekoya6694
@ifedayoadekoya6694 3 күн бұрын
Anyone have any idea how to implement a retry mechanism with coil?
@yaypacman
@yaypacman 3 жыл бұрын
This is really useful, thank you.
@StevdzaSan
@StevdzaSan 3 жыл бұрын
You're welcome 😊
@devildevil873
@devildevil873 3 жыл бұрын
Sir I have one doubt I can't explain it by writing I have to send the screen recording so how can I contact u so that u can help me 😭😭🙏🙏🙏🙏plz help me sir bcz.. it's my project and I got stuck in this problem
@baadrqaaba9529
@baadrqaaba9529 3 жыл бұрын
Am trying to load multiple images inside a lazyrow composable , the painter state is always giving me an empty state, i dont know what am missing
@milon27
@milon27 3 жыл бұрын
Thank you
@copybotai
@copybotai 3 жыл бұрын
this is very useful, please if you can explain how share image and download it in storage
@brawlstar3731
@brawlstar3731 3 жыл бұрын
Great One feedback please increase text size of editor 🙏
@kavinprabu6829
@kavinprabu6829 3 жыл бұрын
Hi can I specify the cache to be store the image only for 600 minutes?is it possible? I am searching for three days, I couldn't find any possibility?Thanks in advance
@RFbcc
@RFbcc 3 жыл бұрын
Thanks, great video !! How do we load a local image on the background thread ?
@galaxiegalaxie5003
@galaxiegalaxie5003 3 жыл бұрын
How do you refresh manually when error or failed to load, due to slow network etc?
@hugosalazar6911
@hugosalazar6911 3 жыл бұрын
How to use coil with Firebase Storage please
@dxndivyansh
@dxndivyansh 3 жыл бұрын
How can I use a composable like shimmer card for the placeholder? For the earlier accompanist library I implemented it using loading state attribute of the coilImagePainter object...Any idea how to do in coil-compose??
@StevdzaSan
@StevdzaSan 3 жыл бұрын
You can also access painter states with this new dependency.
@GakisStylianos
@GakisStylianos 3 жыл бұрын
Check out Landscapist library that wraps Coil and add stuff like that on top
@samstoyroom
@samstoyroom 3 жыл бұрын
Better than Glide? I know Glide supports GIF, what about Coil?
@StevdzaSan
@StevdzaSan 3 жыл бұрын
coil-kt.github.io/coil/gifs/
@StevdzaSan
@StevdzaSan 3 жыл бұрын
@@bro_chenzox Here's the solution :) github.com/skydoves/Landscapist
@Arash72af
@Arash72af 3 жыл бұрын
is it possible to export drawable or bitmap from painter? for example, i would like to extract colors with the palette, as long as the target has been handled internally and must be null, I cannot get drawable from CoilImage anymore, do you have any solution for that?
@Arash72af
@Arash72af 3 жыл бұрын
this is the work around: fun calcDominantColor(drawable: Drawable, onFinish: (Color) -> Unit) { val bmp = (drawable as BitmapDrawable).bitmap.copy(Bitmap.Config.ARGB_8888, true) Palette.from(bmp).generate{ palette -> palette?.dominantSwatch?.rgb?.let { colorValue -> onFinish(Color(colorValue)) } } } fun fetchColors(url: String, context: Context, onCalculated: (Color) -> Unit) { viewModelScope.launch { // Requesting the image using coil's ImageRequest val req = ImageRequest.Builder(context) .data(url) .allowHardware(false) .build() val result = Coil.execute(req) if (result is SuccessResult) { // Save the drawable as a state in order to use it on the composable // Converting it to bitmap and using it to calculate the palette calcDominantColor(result.drawable) { color -> onCalculated(color) } } } } and simply call the fetchColor fuction from ViewModel and pass url.
@bboydarknesz
@bboydarknesz 3 жыл бұрын
wow is it load asynchronously? cause we dont want to wait it load all images
@StevdzaSan
@StevdzaSan 3 жыл бұрын
Yep
@orlandonovasrodriguez825
@orlandonovasrodriguez825 3 жыл бұрын
Good video
@seanaquillaemmanuel6257
@seanaquillaemmanuel6257 3 жыл бұрын
I want to learn android kotlin, there are many java android tutorial. Should i learn java android too?
@StevdzaSan
@StevdzaSan 3 жыл бұрын
To learn Kotlin you don't need to know Java, don't worry about that and start working with Kotlin immediately. 👍🚀
@seanaquillaemmanuel6257
@seanaquillaemmanuel6257 3 жыл бұрын
@@StevdzaSan thank you 😁
@bboydarknesz
@bboydarknesz 3 жыл бұрын
so we dont need picasso and others library like this again?????
@deviantstudio
@deviantstudio 3 жыл бұрын
coil is a library
@Nick-cx4rs
@Nick-cx4rs 2 жыл бұрын
Idk why they deleted blurtransformation on new version of coil suck
@muhammed4d
@muhammed4d Жыл бұрын
I think this structure is a bit outdated. Can you please make an updated video?
@javad0470
@javad0470 3 жыл бұрын
please make tutorial about recyclerView and viewModel in jetpack compose , thank alot
@aminelhag
@aminelhag 2 жыл бұрын
Thank to You Stevdza-san ( ノ ゚ー゚)ノ Keep Going
Password Text Field - Jetpack Compose
7:45
Stevdza-San
Рет қаралды 16 М.
Navigation Basics in Jetpack Compose
14:40
Stevdza-San
Рет қаралды 69 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Image Caching with Coil Compose - Everything You Need to Know
21:28
Philipp Lackner
Рет қаралды 21 М.
Loading with Circular Progress Bar (Jetpack Compose)
14:38
CodingWithMitch
Рет қаралды 20 М.
Loading Images - everything you need to know - Jetpack Compose #7
10:58
Ahmed Guedmioui
Рет қаралды 2,3 М.
Expandable Card with Animation - Jetpack Compose
16:22
Stevdza-San
Рет қаралды 34 М.
Bottom Navigation with Jetpack Compose
15:29
Stevdza-San
Рет қаралды 56 М.
Gradient Button - Jetpack Compose
9:26
Stevdza-San
Рет қаралды 20 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН