Тёмный

THIS Is How You Create Custom Modifiers in Jetpack Compose - Android Studio Tutorial 

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

With custom Jetpack Compose modifiers, you can easily define reusable behavior for multiple composables. In this video I'll show you how you can use them in your UI.
Learn how to use Canvas in Android:
pl-coding.com/canvas-masterclass
💻 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 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...

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

 

15 окт 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@amirhosseinghafoorian5256
@amirhosseinghafoorian5256 Год назад
simple but super helpful , thanks a lot
@sebastianseno9285
@sebastianseno9285 Год назад
so basically it's just kotlin extensions, thanks for your sharing, now my code will more clean
@maxterminatorx
@maxterminatorx Год назад
thanks bro, I think I already follow your channel 3 years and I learned a lot.
@anasfarhad2845
@anasfarhad2845 Год назад
Amazing content, as always
@Mrat121
@Mrat121 Год назад
Top tier content, as always. 🙌
@PhilippLackner
@PhilippLackner Год назад
Thanks Anubhav!
@khapp7821
@khapp7821 Год назад
Today fav. mentor's look with the setup is really cool 👌
@oubihinoureddine9025
@oubihinoureddine9025 Год назад
Best android content on the Internet
@Denis0Kor
@Denis0Kor Год назад
Thanks again for useful video!
@John-qt6qk
@John-qt6qk Год назад
Thanks, I'll have it on mind 😁
@abada-s
@abada-s Год назад
Great benefits 🔥🔥
@safionweb
@safionweb Год назад
Amazing 🔥
@ch1pkavarenychenko84
@ch1pkavarenychenko84 Год назад
tnx, it's very helpful
@kyleMcBurnett
@kyleMcBurnett Год назад
Why did I think of this? Thank you so much.
@unaisulhadi9102
@unaisulhadi9102 Год назад
Amazing bro ❣
@yousefbeiruty6417
@yousefbeiruty6417 Год назад
Legend I firstly stuck alot on compose but after practicing I discovered how is more effective and efficient than xml the dynamic way we could use the composables functions is amazing thank you for your effort could you make some tutorials on graphQl ....👏
@ezekielwachira1691
@ezekielwachira1691 Год назад
Very helpful. thanks.
@TheKamble
@TheKamble Год назад
Hello Ezekiel, good to come across you, think we can link up and do some work together?
@dipeshsaini04
@dipeshsaini04 Год назад
Helpful 😍😍
@terencejumba1939
@terencejumba1939 Год назад
nice content
@Rafael-hk9pg
@Rafael-hk9pg Год назад
Great video, thanks again! Could you make a video on how you trigger animations in screen X when you've done something in screen Y?
@ashokmanis2111
@ashokmanis2111 Год назад
Looks like we are creating custom style..looks interesting..
@maskedredstonerproz
@maskedredstonerproz Год назад
This is awesome, idk why I never imagined this was possible, it's kotlin android, what ISN'T possible??
@eugeng.7044
@eugeng.7044 Год назад
Danke (:
@David-zb8br
@David-zb8br 7 месяцев назад
Hey Philipp, could you please remake this but using the new modifier Node method instead? Since the composed {} api is not the recommended way anymore thanks!
@emmanuelmtera5936
@emmanuelmtera5936 Год назад
I was wondering how to draw live movable rects or boundingBox that follow objects e.tc using the canvas
@PhilippLackner
@PhilippLackner Год назад
This answers all your questions :) pl-coding.com/canvas-masterclass/
@fabiorosati7830
@fabiorosati7830 Месяц назад
Anyone knows how to do this if I want to use "weight" as a modifier parameter? It can only be used in RowScope or ColumnScope, hence I can't simply exted Modifier as in this video
@Omer-es7wo
@Omer-es7wo Год назад
🙏🙏
@zeyadabdo1964
@zeyadabdo1964 Год назад
Do I need to mention the coroutine dispatcher while working with Retrofit and Room?
@PhilippLackner
@PhilippLackner Год назад
No
@zeyadabdo1964
@zeyadabdo1964 Год назад
and thank you for your replay
@demondroid1
@demondroid1 Год назад
raw folder and assets folder any diff
@Kenshin163
@Kenshin163 Год назад
shouldn't animations use the lambda version of the graphicsLayer modifier?
@PhilippLackner
@PhilippLackner Год назад
Why would that make a difference?
@Kenshin163
@Kenshin163 Год назад
@@PhilippLackner because according to documentation it states that we should "Prefer this version when you have layer properties backed by a androidx.compose.runtime.State or an animated value as reading a state inside block will only cause the layer properties update without triggering recomposition and relayout."
@shock1136
@shock1136 Год назад
May I ask what the benefits of using custom modifiers are?
@ankitverma3932
@ankitverma3932 Год назад
Please make a translator app using firebase ML kit
Далее
Let's Migrate an XML Project to Jetpack Compose!
15:49
Я ПОКУПАЮ НОВУЮ ТАЧКУ - МЕЧТУ!
39:05
Crossing the Most Dangerous Crosswalk
00:24
Просмотров 8 млн
Bottom Nav Bar #03 | Material 3 | Jetpack Compose
12:21
Gestures in Jetpack Compose
31:33
Просмотров 22 тыс.
Gradient Button - Jetpack Compose
9:26
Просмотров 18 тыс.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 926 тыс.
Don't Do THIS Jetpack Compose Mistake
8:12
Просмотров 20 тыс.