上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 30 下一页
摘要: 片断一: add hind@Overridepublic void onCheckedChanged(RadioGroup group, int checkedId) { switch (checkedId){ case R.id.rb_common_frame://常用框架 position = 阅读全文
posted @ 2018-02-24 22:47 dub 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 其实最主要的是下面三个步骤: 1.更新As工程为3.0 2.必须升级gradle到4.0以上 3.buildToolsVersion升级到26.0.0 4.在gradle.properties中配置版本号 方法 一 CanaryChannel :金丝雀版, 能获取最新的功能(Bug较多 并且都还没有 阅读全文
posted @ 2018-02-23 16:29 dub 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 第一种.Android studio更新 第一步:在你所在项目文件夹下:你项目根目录gradlewrappergradle-wrapper.properties 替换 distributionUrl=https\://services.gradle.org/distributions/gradle- 阅读全文
posted @ 2018-02-23 14:58 dub 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 片断一:mHandler = new Handler();mRunnable = new Runnable() { @Override public void run() { currentPosition++; Log.d("recyclerBanner", currentPosition + " 阅读全文
posted @ 2018-02-08 17:34 dub 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 一共有两个分支 使用Git下载指定分支命令为:git clone -b 分支名仓库地址 git clone -b +分支 + 地址 study 查看各个分支当前所指的对象 git log --oneline --decorate 项目分叉历史 git log --oneline --decorate 阅读全文
posted @ 2018-01-31 23:50 dub 阅读(2147) 评论(0) 推荐(0) 编辑
摘要: 1,注册Bugly帐号 2.项目 build.gradle 中配置 compile 'com.tencent.bugly:crashreport:latest.release'//其中latest.release指代最新Bugly SDK版本号,也可以指定明确的版本号,例如2.1.9 3.MyApp 阅读全文
posted @ 2018-01-26 09:55 dub 阅读(202) 评论(0) 推荐(0) 编辑
摘要: radioButtons = new RadioButton[rgMain.getChildCount()]; //遍历RadioGroupfor (int i = 0; i < radioButtons.length; i++) { radioButtons[i] = (RadioButton) 阅读全文
posted @ 2018-01-21 16:55 dub 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 原因是解析的时候多了,逗号,或是 \ 解决方法:一 revJson=revJson.replace("\\", "");//去掉'/' revJson=revJson.substring(1, revJson.length()-1); //去掉头尾引号。 简单对象解析: BeanOrderInten 阅读全文
posted @ 2018-01-17 11:36 dub 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 方法一: public void launchAppDetail(String appPkg, String marketPkg) { try { if (TextUtils.isEmpty(appPkg))return; Uri uri = Uri.parse("market://details? 阅读全文
posted @ 2018-01-15 22:21 dub 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: 转载请注明出处:http://blog.csdn.net/singwhatiwanna/article/details/18363899 前言 在实际使用中,有时候会遇到特殊需求,比如pm突发奇想,想把TextView的某几个字变的大一点,再加点颜色,这貌似不好搞,如果是给TextView整体加效果 阅读全文
posted @ 2017-12-30 16:39 dub 阅读(355) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 30 下一页