Hello, sometimes when I'm trying to extract a smal...
# compose
z
Hello, sometimes when I'm trying to extract a smaller composable from a larger composable using android studio's refactor "extract method" I will get error messages like this
Copy code
Function ColumnScope.weight(Float, Boolean) on Modifier will no longer be accessible after extraction
Is there a way around this?
a
Yes, have your extracted smaller composable be an extension function of ColumnScope
z
ahhh of course! thank you
👍 1