48

Star-Projections and How They Work

 6 years ago
source link: https://typealias.com/guides/star-projections-and-how-they-work/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
What are star-projections in Kotlin? And why do they change your function parameter and return types? With just two easy-to-understand rules, we can illuminate star-projections and understand exactly why they work like they do.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK