0

When I use Android Studio's suggested import functionality to import multiple dependencies from the same package, it will initially add each import statement independently. For example, importing several packages from okhttp results in

import okhttp3.Call
import okhttp3.Callback
import okhttp3.ConnectionSpec
import okhttp3.OkHttpClient

If I import too many dependencies from the same package however, it collapses them to one .* import

import okhttp3.*

Is there a way to stop Android Studio from collapsing multiple specific imports to a single .* import?

pdiffley
  • 483
  • 6
  • 17

0 Answers0