https://kotlinlang.org logo
#compose
Title
# compose
m

mcpiroman

05/03/2022, 4:58 PM
`@Suppress("INVISIBLE_MEMBER")`is my new friend when working with compose (allows to use `internal`declarations in different module).
☝️ 2
t

Thomas

05/04/2022, 10:43 PM
Wow this is amazing, thanks for sharing. Really helpful for material3.
z

Zach Klippenstein (he/him) [MOD]

05/10/2022, 3:01 PM
What internal declarations are you using? This seems dangerous
t

Thomas

05/10/2022, 3:55 PM
I am using it a lot now to copy material3 classes into my project to make fixes or modifications. With this annotation I don’t need to copy as much as without it (for example all of the token classes). It is really helpful. Hopefully in the future the token classes are made public as currently it does not allow for customisations.
z

Zach Klippenstein (he/him) [MOD]

05/13/2022, 2:51 PM
Have you filed a bug/feature request? Would be a good signal to the material3 team that the current APIs aren’t enough.
t

Thomas

05/13/2022, 2:53 PM
It was already reported by someone else, no response so far if this could be changed: https://issuetracker.google.com/issues/218092223
63 Views