That_s_the_intended_usage__just_to_be_clearer.kt
# announcements
d
That_s_the_intended_usage__just_to_be_clearer.kt
d
You can add @PublishedApi on internal members and use them from public inline functions.
👏 1
🍻 1
The constructor, in your case, could be @PublishedApi
And you could use it instead of the "bridge" function that you created
d
Awesome, I heard about it, but never got its purpose 😁 I'll have a try 🙂
Perfect! Also made the entire class internal 🙂 thanks