Join Slack
Powered by
That_s_the_intended_usage__just_to_be_clearer.kt
# announcements
d
Davide Giuseppe Farella
01/19/2019, 7:52 AM
That_s_the_intended_usage__just_to_be_clearer.kt
That_s_the_intended_usage__just_to_be_clearer.kt
d
Dico
01/19/2019, 11:53 AM
You can add @PublishedApi on internal members and use them from public inline functions.
👏 1
🍻 1
Dico
01/19/2019, 11:54 AM
The constructor, in your case, could be @PublishedApi
Dico
01/19/2019, 11:54 AM
And you could use it instead of the "bridge" function that you created
d
Davide Giuseppe Farella
01/19/2019, 12:00 PM
Awesome, I heard about it, but never got its purpose 😁 I'll have a try 🙂
Davide Giuseppe Farella
01/19/2019, 1:36 PM
Perfect! Also made the entire class internal 🙂 thanks
2
Views
Open in Slack
Previous
Next