7

Where Did My Jetpack Compose Modifier Go?

 2 years ago
source link: https://www.youtube.com/watch?v=_L6G_8RyexM
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Where Did My Jetpack Compose Modifier Go?

302 views
•May 31, 2021

In this video we go over a common confusion when learning Jetpack Compose - why are some Modifiers unresolved when I try to make my own composable? Perhaps after pulling your code into a separate function you find an error such as "Unresolved reference: align" or "Unresolved reference: weight".

This video will explain what causes that exception, and look at a few solutions to solving the problem.

---

Follow on Twitter for updates: https://twitter.com/AdamMc331

Follow on Twitch for Android development live streams: https://twitch.tv/AdamMc331


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK