Go to File ->Settings ->Editor->Auto Import->Java and make the below things:
Select Insert imports on paste value to All
Do tick mark on
Add unambigious imports on the fly option and "Optimize imports on the fly*
 |
Auto import packages in android studio |
No comments:
Post a Comment