Is there a way I can import all the classes without importing specific classes in this case? [closed]

In this case, I had to import a enum inside one of the files I have already imported by using *. I’m forced to import it since it cannot resolve to a variable. Any suggestion to fix this? Packages imported for now

Answer

Is this Android Studio if yes then :

Use alt + enter to import classes in Android Studio
or use IDE Features just go to File>Setting>Editor>General>Auto Import

and configure as per your needs see this

If not go through your IDE settings