Hey Mitch, AmbientContext now is LocalContext. So you have to remake video again. ))
@mohamansani68364 жыл бұрын
Best Android course ever. This is exactly what I've been looking for. I've been following your courses on pluralsight Mitch, you're doing a great job. Thanks
@Shoan3D4 жыл бұрын
You funny 😆 Mitch, "don't stop now, guy". Another engagement coming right now. Thank you for the image loading hint and utility Composable, didn't know it was that easy to make. Awesome video, very helpful.
@alexisarcegomez86984 жыл бұрын
Here is another well deserved engaged for you Mitch, awesome work
@LetrixAR4 жыл бұрын
Now it's working fine! Thanks! I can finally try to port my app.
@tonnie70793 жыл бұрын
Mitch nice lesson, I used Coil (for Jetpack) and wrote just 3 lines inside the Image Composable to load.
@anudeepananth3 жыл бұрын
I am using GlideImage with Jetpack compose, once the image is finished loading I would like to save it as a Bitmap. In XML this was quite straight forward, we would do something like this: val bmp: Bitmap = image_view.drawToBitmap() //image_view is the XML id of the ImageView What is the jetpack compose equivalent of this?
@akashkumardas65214 жыл бұрын
After designing in flutter found designing with compose too slow means very very slow. But I liked the video because you made it. Thank you so much
@codingwithmitch4 жыл бұрын
Ya flutter is faster for sure. The hot reload is nice
@petars78514 жыл бұрын
Engaging with Mitch. Feels so good.
@codingwithmitch3 жыл бұрын
Lol thanks
@muhammadshayankhan30664 жыл бұрын
Engagement. Glide has an image placeholder property, why not use that?
@codingwithmitch4 жыл бұрын
Basically no reason
@ehsanshadi8103 жыл бұрын
Thanks Mitch, love the content. You put @Composable annotation on loadPicture function and I couldn't figure out why. Can you give me a hint? I really appreciate.
@mukswilly4 жыл бұрын
Why didn't you use a placeholder instead? Just curious.
@codingwithmitch4 жыл бұрын
I wanted to see if it worked this way with mutablestate and then just left it because it did
@mukswilly4 жыл бұрын
@@codingwithmitch so basically, "If it works, don't touch it" 😅
@codingwithmitch4 жыл бұрын
@@mukswilly I think that's a good policy 😂
@vengateshm21224 жыл бұрын
Thank You. Is AmbientContext is same as Context? We are not creating any views in loadPicture function then why it is still annotated as composable? Please explain MItch.
@yaroslavkulinich71554 жыл бұрын
It's annotated as Composable because Mitch gets Context from the AmbientContext element that's available only from the Composable function. If you do the same with a regular function, you need to pass a Context parameter to that function (you get it from the Parent Composable anyway).
@codingwithmitch4 жыл бұрын
Yes AmbientContext is the context. I make the function a composable so I can access the context through AmbientContext. Otherwise you could remove the Composable annotation and pass the context as function argument
@vengateshm21224 жыл бұрын
@@yaroslavkulinich7155 Thank You.
@vengateshm21224 жыл бұрын
@@codingwithmitch Thank You.
@YouGuto4 жыл бұрын
Engaging like a Boss!
@pitter62823 жыл бұрын
featured_image are all null from ur api. I couldn't display picture now. what happened to it? could you fix please.
@Kshitijskumar4 жыл бұрын
Hey mitch. Here is your engagement! Doing great job. Learning literally alot from you!!
@KIRILLINGUSS214 жыл бұрын
LazyColumn is the best one. Love your engagement
@anuradhaamarasinghe96493 жыл бұрын
Thanks, Mitch, and yes engaged!
@devanshu_on_youtube3 жыл бұрын
Hey Mitch, doing a great job :thumbs_up: . One question though, any reason why you don't use default arguments that much in functions. My first instinct when you declared the default red id constant in that loadImage composable was that you'd make it a default argument for the placholder, in case someone wouldn't want to change it while consuming the composable. Just makes the client code less verbose..
@shalinikhosla9713 жыл бұрын
Heyy Mitch! Thanks for the Videos.
@mehulbisht97084 жыл бұрын
6:37 that instant regret 😂😂
@codingwithmitch4 жыл бұрын
That is what happens when I try to change things live on video. I always tell myself: "MITCH STICK TO THE SCRIPT"
@sinedgars3 жыл бұрын
@@codingwithmitch love it. That`s show you are not some ultra smart cyborg :D
@micheekisukilakamba1435 Жыл бұрын
Your video is amazing ! Great!👏👏👏
@speedboy936403 жыл бұрын
Hi Mitch! Great content!
@MuhammadNaveed20164 жыл бұрын
First Engagement Today
@alexissuarezalvarez56222 жыл бұрын
Hi I am doing something similar but with yotubeplayerview by PierfrancescoSoffritti, the loading of videos is not good. Could you give me some good tips on how to manage this little project?
@ChrisAthanas4 жыл бұрын
Engaged ion drives this time
@shivamsethi38294 жыл бұрын
Nice work as usual
@tarikhusin17672 жыл бұрын
i think "Coil" library is the easiest for image loading in Compose
@DS-bz4mz2 жыл бұрын
yeah, it made it a lot easier to digest imo
@venkatesh43074 жыл бұрын
Hey Mitch please help me on this error! Class 'RecipeListFragment' is not abstract and does not implement abstract base class member public abstract fun prepareCall(contract: ActivityResultContract, callback: ActivityResultCallback): ActivityResultLauncher defined in androidx.fragment.app.Fragment This error is appearing on fragment name. I implemented the prepare call methods. Then i got an error "prepare call doesn't override nothing.." please help me any one..
@32zim323 жыл бұрын
One question. You are not using remember function here. Will it redownload images after every recomposition?
@dmytromarchuk30233 жыл бұрын
yes, remember is not called so it will be called once again
@fourcade78514 жыл бұрын
HI Mitch how are you bro )) thanks for video ))
@zaidabbasi19912 жыл бұрын
Here's your engagement Mitch.
@sinedgars3 жыл бұрын
kaboom, engadge, good one. like glide, no future problem
@hellespont50723 жыл бұрын
Knowledge bombs have been dropped! 💣
@janfranco23314 жыл бұрын
Great tutorial! Thanks!
@terencejumba19393 жыл бұрын
you teach so well
@HelloBayzid4 жыл бұрын
Best Teacher!
@AlgeriaHere4 жыл бұрын
very helpful , thank you so much
@muhammedshahin62992 жыл бұрын
Thanks, mitch
@ailacherim4 жыл бұрын
Thanks 👍
@iJuce4 жыл бұрын
that beard looks good on you 🔥👌
@codingwithmitch4 жыл бұрын
Thanks took me a long time to grow that baby
@danyelsh8743 жыл бұрын
wow mitch thanks
@JATHubb4 жыл бұрын
Yo Mitch
@codingwithmitch4 жыл бұрын
Yo jit
@staceyrichards86563 жыл бұрын
Thank you!
@digitalluxury20332 жыл бұрын
شكرا جزيلاااا or thanks as you like 😆😆😆😆
@johnybaby95744 жыл бұрын
here's my engagement
@osezelejohn32142 жыл бұрын
no longer Image(bitmap = imageResource(id= R.drawable.empty_meal) now solution is: val image: Painter = painterResource(id = R.drawable.composelogo) Image(painter = image,contentDescription = "")
@tom-wz5le3 жыл бұрын
Thanks
@prashantsurti57884 жыл бұрын
Engagement
@adnanhaider99494 жыл бұрын
You awesome bro
@mehdiparsaei18674 жыл бұрын
Great.
@electricalprogrammer4562 жыл бұрын
🐐🐐🐐🐐
@jknair04 жыл бұрын
You just made vegans unhappy. Apart from that, I really like how clear your explanations are. Keep making good content!
@nurhadi-dev4 жыл бұрын
great,, super duper engagement...
@roshanfx3694 жыл бұрын
Great!!
@leetcodeforbeginners4 жыл бұрын
great
@ВячеславПойденко3 жыл бұрын
Спасибо
@jayeshsuthar55904 жыл бұрын
Hey Mitch 👋 What's your thought on Compose? Isn't it bit extra work? All the nested code and everything. It is not looking so appealing!