Тёмный

How to Create a Shimmer Loading Effect in Jetpack Compose (WITHOUT Library!) 

Philipp Lackner
Подписаться 175 тыс.
Просмотров 29 тыс.
50% 1

In this video I'll show you how you can create a shimmer loading effect in Jetpack Compose without using a library.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/premium-courses...
💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
pl-coding.com/drop-table-ment...
Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!
pl-coding.com/newsletter
Join this channel to get access to perks:
/ @philipplackner
Get the source code for this video here:
github.com/philipplackner/Shi...
Join my Discord server:
/ discord
Regular programming advice on my Instagram page: / _philipplackner_
Checkout my GitHub: github.com/philipplackner
You like my free content? Here you can buy me a coffee:
www.buymeacoffee.com/philippl...

Опубликовано:

 

14 янв 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@original_anu
@original_anu Год назад
This removes my accompanist dependency. Cheers ❤
@John-qt6qk
@John-qt6qk Год назад
Thanks Philipp Lackner I just adapted it to my project and it looks like awesome 😁
@mubaraknative
@mubaraknative 10 месяцев назад
The one and only a professional developer who does not wear any spec to write code!!
@NecoRuChannel
@NecoRuChannel Год назад
Phillip you are the best!! Thank you!! It is great tutorial like all yours tutorials !!
@baharudinmaulana78
@baharudinmaulana78 Год назад
Cooollll Philips, i directly to implement to my own project , thanks a lot.
@Aweklin
@Aweklin 11 месяцев назад
Perfect! Thanks Philipp.
@GN9K71
@GN9K71 Год назад
Man, that`s wonderfull! Thank you!
@jackeblan
@jackeblan 19 дней назад
Each time the animation is reset, it will go back to the first phase of recomposition. To minimize this phasing, you must do the color animation in the draw phase. You have to do this inside the draw blocks like drawWithCache, drawWithContent or drawBehind. That will optimize your composable by not going through unnecessary phases.
@vhmvdn
@vhmvdn 7 дней назад
That’s exactly what I was thinking. This shouldn’t have to be done with recomposition, but rather within draw phase only.
@hocinehope8880
@hocinehope8880 Год назад
This guy is amazing
@remydupont7454
@remydupont7454 Год назад
Very interesting. Just wondering if it's really performant to use the background modifier and offset. What's about to replace with drawBehind and offset lambdas? Can it skip the measure phase? Sorry if I'm wrong, still learning Compose (Learned a lot from you) Anyway thank you for this tutorial, great job. Can now create custom modifiers
@mustafaammar551
@mustafaammar551 Год назад
Thank you bro
@proandroiddevir
@proandroiddevir Год назад
Thanks 🙏🙏🙏
@nfaical3
@nfaical3 Год назад
Thanks a lot :-)
@techienomadiso8970
@techienomadiso8970 Год назад
Good stuff
@Alchemist10241
@Alchemist10241 Год назад
thanks, you're videos keep me up to date with the absolutely necessary information not like google IO which shows a lot of unnecessary information.
@argahutama
@argahutama Год назад
Cool!
@catb801106
@catb801106 Год назад
Is it possible to detect the size of contentAfterLoading sub-conponent , iterate it and auto generate the shimmer effect box for that ?
@Splatschi
@Splatschi 2 месяца назад
Hi @PhilippLackner thank you for this awesome tutorial. Is it also possible in xml instead of jetpack compose?
@DanielLuche
@DanielLuche 5 месяцев назад
Nice
@KamalKumar-mi9lr
@KamalKumar-mi9lr Год назад
Hi man , Can we get any tutorial about activity tracking ?
@Deathfang89
@Deathfang89 Год назад
Great content man. What theme are you using in AS?
@ubersticks
@ubersticks Год назад
I think it is Xcode-Dark-Theme plugin.
@ajuv001
@ajuv001 11 месяцев назад
I tried your code in my project, gradient is coming but not animating. I tried executing your code and tried replacing your code with my code , it's working there. Any idea what could be the issue?
@lovebondsin7071
@lovebondsin7071 9 месяцев назад
Can we do it in xml without compose and without use of any library?
@Traffic_Pro
@Traffic_Pro Год назад
When you make a video about chatGPT and its thread to android developers?
@shubanaslam1983
@shubanaslam1983 Год назад
Osm
@iliasreventon8763
@iliasreventon8763 Год назад
do you believe that xml is going to be deprecated in the next five years?
@hillalroy
@hillalroy Год назад
one android tv app with exoplayer tutorial plz
@bestapps4709
@bestapps4709 10 месяцев назад
Exist an api that can make awesome texts with 2 colors etc...?
@bek_groider
@bek_groider Год назад
I think, in compose we shouldn't rely on libraries. Compose let's us customize manage view easily. It is not Xml anymore
@me-kl7bq
@me-kl7bq Год назад
Can u create content that is more beginner friendly as well?
@PhilippLackner
@PhilippLackner Год назад
I have plenty of beginner level content on my channel, from the absolute basics to more advanced
@me-kl7bq
@me-kl7bq Год назад
@@PhilippLackner ohk. I am new to your channel. Surely will check
@abdomostafa4512
@abdomostafa4512 Год назад
so complicated I prefer doing that with a library
@arthurgomes9248
@arthurgomes9248 9 месяцев назад
I guess that depends on your background and knowledge as a programmer. I used to be a game developer, so drawing shapes and messing around functions do draw basic stuff on screen comes naturally. But if you are not in a hurry to proper learn how to do this by yourself, and by extension , have more control over it, there is no problem using a library. It might get blocked if you to do this using a library when a experienced team with compose starts questioning why use third party code when you can do it yourself.
@maxbielik
@maxbielik Год назад
First
@Kanha0321
@Kanha0321 Год назад
One of the most underrated channel on RU-vid 🥲. You surely deserve much more than this sir..
@bek_groider
@bek_groider Год назад
hey Philipp thanks for great video! :) btw do you still you twitter if so drop you link pls
@safionweb
@safionweb Год назад
Далее
Gestures in Jetpack Compose
31:33
Просмотров 22 тыс.
Custom layouts and graphics in Compose
20:25
Просмотров 50 тыс.
Practical magic with animations in Jetpack Compose
32:46