会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FlowLiver
管理
上一页
1
2
3
4
2021年1月29日
Android 中切换回主线程的方法
摘要: 1.view.post(Runnable action textView.post( new Runnable() { @Override public void run() { textView.setText("更新tv"); //还可以更新其他的控件 imageView.setBackgrou
阅读全文
posted @ 2021-01-29 15:02 FlowLiver
阅读(532)
评论(0)
推荐(0)
2021年1月28日
Android 开发 检查网络状态
摘要: public class ProUtils { /** 直接调用这个方法即可 **/ public static boolean isNetOk(Context context) { if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { retur
阅读全文
posted @ 2021-01-28 19:04 FlowLiver
阅读(119)
评论(0)
推荐(0)
2021年1月24日
Java Properties和IO流结合
摘要: package com.company; import java.io.*; import java.util.Properties; public class Main { public static void main(String[] args) throws IOException { my
阅读全文
posted @ 2021-01-24 15:00 FlowLiver
阅读(67)
评论(0)
推荐(0)
Java 异常处理 try-catch-resourses
摘要: //JDK7的改进方案 private static void method3() { try(FileReader fr = new FileReader("fr.txt"); FileWriter fw = new FileWriter("fw.txt");){ char[] chs = new
阅读全文
posted @ 2021-01-24 13:12 FlowLiver
阅读(163)
评论(0)
推荐(0)
2021年1月22日
博客园Markdown文本代码大小字体修改
摘要: 博客园Markdown文本代码大小字体修改 .cnblogs-markdown .hljs { font-size: 18px !important; background: #F8F8F8!important; font-family: 'Consolas','Microsoft YaHei'!i
阅读全文
posted @ 2021-01-22 13:59 FlowLiver
阅读(312)
评论(0)
推荐(0)
上一页
1
2
3
4