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

  Рет қаралды 13,387

Philipp Lackner

Philipp Lackner

Күн бұрын

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/...
💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
pl-coding.com/...
Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!
pl-coding.com/...
Join my Discord server:
/ discord
Regular programming advice on my Instagram page: / _philipplackner_
Checkout my GitHub: github.com/phi...
You like my free content? Here you can buy me a coffee:
www.buymeacoff...

Пікірлер: 39
@khapp7821
@khapp7821 Жыл бұрын
Today fav. mentor's look with the setup is really cool 👌
@John-qt6qk
@John-qt6qk Жыл бұрын
Thanks, I'll have it on mind 😁
@maskedredstonerproz
@maskedredstonerproz Жыл бұрын
This is awesome, idk why I never imagined this was possible, it's kotlin android, what ISN'T possible??
@ezekielwachira1691
@ezekielwachira1691 Жыл бұрын
Very helpful. thanks.
@TheKamble
@TheKamble Жыл бұрын
Hello Ezekiel, good to come across you, think we can link up and do some work together?
@David-zb8br
@David-zb8br 9 ай бұрын
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!
@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
@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."
@ankitverma3932
@ankitverma3932 Жыл бұрын
Please make a translator app using firebase ML kit
@Mrat121
@Mrat121 Жыл бұрын
Top tier content, as always. 🙌
@PhilippLackner
@PhilippLackner Жыл бұрын
Thanks Anubhav!
@fabiorosati7830
@fabiorosati7830 3 ай бұрын
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
@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 ....👏
@sebastianseno9285
@sebastianseno9285 Жыл бұрын
so basically it's just kotlin extensions, thanks for your sharing, now my code will more clean
@amirhosseinghafoorian5256
@amirhosseinghafoorian5256 Жыл бұрын
simple but super helpful , thanks a lot
@demondroid1
@demondroid1 Жыл бұрын
raw folder and assets folder any diff
@terencejumba1939
@terencejumba1939 Жыл бұрын
nice content
@shock1136
@shock1136 Жыл бұрын
May I ask what the benefits of using custom modifiers are?
@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?
@eugeng.7044
@eugeng.7044 Жыл бұрын
Danke (:
@ashokmanis2111
@ashokmanis2111 Жыл бұрын
Looks like we are creating custom style..looks interesting..
@Denis0Kor
@Denis0Kor Жыл бұрын
Thanks again for useful video!
@kyleMcBurnett
@kyleMcBurnett Жыл бұрын
Why did I think of this? Thank you so much.
@maxterminatorx
@maxterminatorx Жыл бұрын
thanks bro, I think I already follow your channel 3 years and I learned a lot.
@ch1pkavarenychenko84
@ch1pkavarenychenko84 Жыл бұрын
tnx, it's very helpful
@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/
@oubihinoureddine9025
@oubihinoureddine9025 Жыл бұрын
Best android content on the Internet
@anasfarhad2845
@anasfarhad2845 Жыл бұрын
Amazing content, as always
@unaisulhadi9102
@unaisulhadi9102 Жыл бұрын
Amazing bro ❣
@abada-s
@abada-s Жыл бұрын
Great benefits 🔥🔥
@safionweb
@safionweb Жыл бұрын
Amazing 🔥
@dipeshsaini04
@dipeshsaini04 Жыл бұрын
Helpful 😍😍
@Omer-es7wo
@Omer-es7wo Жыл бұрын
🙏🙏
Should You Use Compose State or StateFlow in Your ViewModels?
13:59
Philipp Lackner
Рет қаралды 78 М.
THIS Is How You Create Custom Shapes in Jetpack Compose 🚀
12:49
Philipp Lackner
Рет қаралды 12 М.
Шок. Никокадо Авокадо похудел на 110 кг
00:44
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,9 МЛН
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 10 МЛН
Gestures in Jetpack Compose
31:33
Android Developers
Рет қаралды 23 М.
Full Guide to Delegation in Kotlin  - Android Studio Tutorial
18:10
Philipp Lackner
Рет қаралды 69 М.
Compose Modifiers deep dive
21:02
Android Developers
Рет қаралды 34 М.
The ULTIMATE Guide to Sharing Data Between Screens in Jetpack Compose
24:08
Custom layouts and graphics in Compose
20:25
Android Developers
Рет қаралды 53 М.
Gradient Button - Jetpack Compose
9:26
Stevdza-San
Рет қаралды 19 М.
Шок. Никокадо Авокадо похудел на 110 кг
00:44