03 2017 档案

摘要:1.在Application里面初始化 阅读全文
posted @ 2017-03-31 19:47 张亚楠 阅读(1682) 评论(0) 推荐(0) 编辑
摘要:package com.lvshandian.partylive.utils;import android.content.Context;import android.os.CountDownTimer;import android.widget.TextView;import com.lvsha 阅读全文
posted @ 2017-03-23 16:38 张亚楠 阅读(246) 评论(0) 推荐(0) 编辑
摘要:方式一:上下左右滑动显示隐藏布局 总结代码地址: http://git.oschina.net/anan9303/customView参考例子: http://www.jianshu.com/p/fce48921d086代码:https://github.com/xujiaji/ScrollMenu 阅读全文
posted @ 2017-03-21 14:00 张亚楠 阅读(3772) 评论(0) 推荐(0) 编辑
摘要:public void uncaughtException(Thread thread, Throwable ex) { //处理异常 Log.e("崩溃",thread.getName()+ex.toString()); //发送到服务器 //dialog提醒 } 重写Application的on 阅读全文
posted @ 2017-03-10 16:41 张亚楠 阅读(1027) 评论(0) 推荐(0) 编辑
摘要:下面是每隔一段时间就执行某个操作,直到关闭定时操作: 下面是隔一段时间后执行某个操作一次,执行完后,不再执行 阅读全文
posted @ 2017-03-10 16:15 张亚楠 阅读(918) 评论(0) 推荐(0) 编辑
摘要:一、隐藏状态栏 标题栏:Android手机左上最顶上处; 状态栏:Android手机右上最顶上处; 1. 引入类库 使用Android Studio,直接在build.gradle文件中引入库: 阅读全文
posted @ 2017-03-05 00:36 张亚楠 阅读(464) 评论(0) 推荐(0) 编辑
摘要:https://github.com/youth5201314/banner compile 'com.youth.banner:banner:1.4.9' private void setBanner() { if (banner == null) return; //设置banner样式 ban 阅读全文
posted @ 2017-03-01 00:40 张亚楠 阅读(527) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示