What is the shortcut in Android Studio for "Create a method on instance"? For example, say I have an instance of MyClass but not yet have myMethod:
instance.myMethod();
In Eclipse I can auto-generate myMethod. How can someone do this in Android Studio? I have a Mac.
Select function name and give below command:
For Windows:
alt + enter
For MacOs:
command + enter
you will have option to create.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With