Tips for using the override method in eclipse

Source: Internet
Author: User
A large number of standard libraries will be referenced in the android development process, and specific application requirements need to be implemented through the override base class functions. Each time you need to manually enter standard function calls, the programming efficiency is not high. With this in mind, eclipse can quickly and accurately override a base class. Basic steps: 1. Right-click the location where the override function needs to be inserted, and choose source-> override/implement methods... 2. Select the name of the function to be added (you can also select "insert point" to redirect the Insert Location) 3. The complete and accurate override structure is inserted in the code. Set the shortcut key to quickly open the override/implement methods dialog box. The procedure is as follows: 1. Window --> 2. preferrence --> 3. General --> 4. Keys --> 5. Locate override/implement methods, and press SHIFT + ALT + R in the binding text box.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.