The Android Kotlin Style Guide says:
Wildcard imports (of any type) are not allowed.
How do I configure Android Studio to do this automatically?
The Android Kotlin Style Guide says:
Wildcard imports (of any type) are not allowed.
How do I configure Android Studio to do this automatically?
You can set your Android Studio preferences to remove all wildcard imports from Kotlin files.
Editor > Code Style > KotlinUse single name import for Top-level SymbolsUse single name import for Java Statics and Enum Members- symbol until it says Nothing to showFor each Kotlin file, you can fix imports with Code > Optimize Imports (shortcut ⌃⌥O on Mac).
