AndroidStudio查看方法具体实现(Open Implementation)
2016-05-25 12:02
447 查看
之前用Eclipse查看方法的时候有一个比较方便的选择,可以选择打开方法的接口定义,或者方法的实现(Open Implementation )
AndroidStudio一直没找到这个选项,百度了一下没找到,到jetbrains的help文档中找,发现是这个按钮(下图)。
以前一直没注意。
:
This method implements a method required by an implemented interface or extended abstract class.
:
This method of an interface or an abstract class is implemented by one or more descendants.
:
This method overrides a method defined by its superclass.
:
This method or field is overridden / implemented by one or more subclasses.
具体可以看: https://www.jetbrains.com/help/idea/2016.1/navigating-to-super-method-or-implementation.html?search=open%20%20implementation。
不过感觉这个比eclipse稍微麻烦一些,查看回调方法一个实现,要点击到接口中,再点击接口下的实现。不知有没有类似eclipse那样按住ctrl,鼠标移动到方法上就可以直接选择implementation?
看来很多东西是百度 google不出来的,要自己去英文文档中搜啊~
AndroidStudio一直没找到这个选项,百度了一下没找到,到jetbrains的help文档中找,发现是这个按钮(下图)。
以前一直没注意。
:
This method implements a method required by an implemented interface or extended abstract class.
:
This method of an interface or an abstract class is implemented by one or more descendants.
:
This method overrides a method defined by its superclass.
:
This method or field is overridden / implemented by one or more subclasses.
具体可以看: https://www.jetbrains.com/help/idea/2016.1/navigating-to-super-method-or-implementation.html?search=open%20%20implementation。
不过感觉这个比eclipse稍微麻烦一些,查看回调方法一个实现,要点击到接口中,再点击接口下的实现。不知有没有类似eclipse那样按住ctrl,鼠标移动到方法上就可以直接选择implementation?
看来很多东西是百度 google不出来的,要自己去英文文档中搜啊~
相关文章推荐
- Android PopupWindow使用,轻松实现微博主界面(二)
- Android开发中常见的设计模式
- Android账号注册实现点击获取验证码倒计时效果
- android图片压缩上传系列-基础篇
- Android Support兼容包详解
- Android 使用第三方SDK—友盟实现分享功能
- Android Navigation TabBar控件实现多彩标签栏
- Android selector item 属性大全
- 解决android有的手机拍照后上传图片被旋转的问题
- 仿QQ列表侧滑删除的ListView
- android内核基础
- android配置环境时,adb端口占用问题
- android graphic(22)—android M 分屏功能开关
- Android导航栏隐藏与浮现
- android_实现EditText的抖动效果
- Android Cordova 插件开发之Cordova安装
- Android中使用定时器的三种方法
- 高德地图LBS开发定位--android客户端
- Android Cordova 插件开发之创建项目
- 关于Android依赖注入框架ButterKnife和Dagger的简单比较