The Problem: Import Name Collisions

But what if we need two?

Distracted Kotlin Class
Distracted Kotlin Class

In Java, the solution is clunky: only one can have an import statement, and the other has to be fully-qualified. So, you have to pick a favorite Observable that gets the short name, with references to the other one cluttering up the code.


Prev Table of Contents Next

This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.