Multi-Preview Annotations for your Composables! 👀

preview_player
Показать описание
🏆 My Online Courses

☕ Buy me a Coffee

📝Medium

💻 Github

📸 Instagram

💎 Become a Premium Member

In this video I'll teach you how to reduce the numer of preview composables within your code. With this little trick, you will need only one preview composable in order to display multiple different previews in your Kotlin file! Watch the whole video to learn more how to do it! Enjoy! :)
Рекомендации по теме
Комментарии
Автор

Very convenient feature. Love it. Thanks a lot.

TalimaPictures
Автор

Great! What about multi preview that accepts different models?

alonshlider
Автор

Hey steve nice video very very helpful 🙂

abhijeetmule
Автор

how do you actually get the previews to show up??

jimiwills
Автор

Goodday All i would like to ask or advice it has nothing to do with the topic in the title its rather about getting getting the material cards to display the background of the root element in an example to express what i mean i have a linear gradient as my background in a drawer layout how would i implement it that the cards in a recycle view either be transparent to contain the background color or adapt the color to its position on screen hope that makes somewhat sense and thank you for your tutorials you really helping me come to grips with android studio at at rapid rate

wade
Автор

Can you show how to integrate fragments in Jetpack Compose? I think is better because you can use fragment lifecycle and shared viewmodels

il_benza