Android Studio : Implement abstract methods shortcut
Posted on : Thu, 23rd Apr 15 12:08 pm GMT
You might have mapped Android Studio keyboard shortcuts with that of Eclipse IDE thats lets you import packages using Ctrl + Shift + O (Command + Shift + O for Mac OS X) but when you are implement a class with abstract methods the key combinations does not work, for this you have to,
- Place your cursor over the implemented class name and press Alt + Enter ( Option + Enter on Mac OS X)
- You would now see a Red color bulb.
Fig : Implementing abstract methods (see the red bulb)
- Click on the bulb and select Implement methods.
- Thats it! you would get the abstract methods added with @Override annotations.
We are operating with limited resources due to COVID-19 - Stay Safe!
We stands in support of racial equality!
Follow us : Facebook