新增未实现的方法&QUOT

新增未实现的方法&QUOT

本文介绍了"新增未实现的方法"在Android Studio的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse IDE中有一个很大的特点,您可以添加(实现)所需的所有特定类的方法。我正在寻找在Android Studio IDE中此功能,但没有成功为止。是不是有什么相似?对我来说这是关键,特点之一,不能没有。

In the Eclipse IDE there is a great feature allows you to add (implement) all of the required methods of the particular class. I'm looking for this feature in the Android Studio IDE, but without success so far. Is there something similar? For me it is one of the key-features and can't live without.

编辑:

我不想选择的方法来implemet。我想IDE做到这一点对我来说像Eclipse在做什么。例如,当我点击添加未实现的方法任何活动推广的类所有这些里面的onCreate() 的onPause() onResume()生成。

I don't want to choose methods to implemet. I want IDE to do it for me like Eclipse were doing. For example when I clicked "Add unimplemented methods" inside any Activity extented class all of these onCreate() onPause() onResume() were generated.

推荐答案

当然有。这就是所谓的实施方法替换方法。默认的快捷键是 CTRL-I CTRL-O 。请参见实施办法并的的。

Of course there is. It is called Implement methods or Override Methods. The default shortcut is CTRL-I and CTRL-O. See descrption of Implementing Methods and Overriding Methods.

这篇关于"新增未实现的方法"在Android Studio的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 19:14