Eclipse--继承方法的参数为arg0、arg1(可读性不强)解决方法

发布时间:2020-08-01 09:23:44 作者:510202
来源:网络 阅读:796

问题描述如下:

    

protected void onActivityResult(int arg0, int arg1, Intent arg2) {
  super.onActivityResult(arg0, arg1, arg2); 
}
希望效果如下:
protected void onActivityResult(int requestCode, 
    int resultCode, Intent data){ 
  super.onActivityResult(requestCode, resultCode, data); 
}

解决方法

1  现在Android  SDk source源码(使用Android SDK Manager)

2 点击当前类的父类,跳转到会弹出一个提示找不到源码的页面

3 点击页面上的按钮,选择第一步下载的Android  SDk source目录即可。


推荐阅读:
  1. SpringCloud Feign参数问题及解决方法
  2. Mybatis Integer类型参数值为0时得到为空的解决方法

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

source android --

上一篇:python中如何使用selenium库

下一篇:js如何实现无缝轮播图插件封装

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》