For example, if I want to add this method:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
//some code I add later...
}
is there a way to add it without typing it all? I know that when I want the onClick method, I implement it in the class, then it shows an error, I hover my mouse over and click add unimplemeted methods, and it's there.
In Eclipse, right-click over the class, choose Source > Override/Implement Methods from the context menu, and check off the method(s) you want to add to the class.