Tips for quickly overriding (override) base class methods in Eclipse (reprint)

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/guolin_blog/article/details/11952435

a large number of standard libraries will be referenced during the Android development process, as well as implementing specific application requirements through the override base class function, which is inefficient when manually entering standard function calls .With this in mind, eclipse can quickly and accurately override a base class.Basic steps:1. Right-click where you want to insert the Override function, select Source->override/implement Methods ...2. Select the name of the function you want to add (optionally, insert point redirects the insertion position)3. In this way, a complete and accurate Override structure is inserted into the code .set shortcut keys to quickly open the Override/implement Methods dialog box, in the following steps:1.window-->2.preferrence-->3.general-->4.keys-->5. Locate the Override/implement methods,binding text box and press Shift+alt+r.

Tips for quickly overriding (override) base class methods in Eclipse (reprint)

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.