eygraber
12/05/2022, 8:30 PMinternal
? For example, all of the tokens, things like ButtonColors
, etc... Would be helpful to have access to them in some scenarios, especially since they are read only anyways.francisco
12/05/2022, 8:32 PMButtonColors
ChipColors
etc would be so helpful.
My current solution is to basically copy the ChipColors
internal functions in my DS Library, but would be helpful if they exposed them.eygraber
12/05/2022, 8:35 PMephemient
12/05/2022, 8:54 PM@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
or hacks with friend paths can let you access `internal`s of other modules (usual caveats about "if it breaks, you get to keep the pieces"), but yes this seems like something that would be useful as a public APIYann Badoual
12/05/2022, 9:51 PMephemient
12/05/2022, 10:29 PMephemient
12/05/2022, 10:30 PMinternal
I don't see why you wouldjames
12/06/2022, 4:36 AMinternal
modifier? it used to be easy in the world of Java, but I’ve not seen a way of doing it in Kotlinephemient
12/06/2022, 4:36 AM@Suppress
, as I mentioned just earlierjames
12/06/2022, 4:37 AM