Reputation: 267067
When you create a new Android Activity from Eclipse, it comes with some default code put in, including the onCreate and onStart methods. Where can I edit this template to add new methods that I want to be created by default when new Android activities are created?
Upvotes: 0
Views: 808
Reputation: 2409
Look at the template files located in android_home/tools/templates/activities/BlankActivity
Upvotes: 6
Reputation: 874
If you right click anywhere in your extended class, go to Sources-->Override/Implement Methods you can find all the methods that you can Override/Implement. Select all the ones you need and click ok
Upvotes: 0