碰到的问题connection reset by peer看字面意思像是:要做的事还没做完,链接就被重置了(断开了)。
潜意识里认为分业/分批加载数据更多的是为了提高用户体验,不必等到花都谢了。但貌似还有更大的阴谋:如下
今天,就出现了个这:
因为本地的数据比较少,怎么测都没
——
Sally
于 2016-08-12 📝
pendingIntent对象可以通过 getActivity(context, int, intent, int), getBroadcast(context, int, intent, int), getService(context, int, intent, int)来获
——
Sally
于 2016-08-03 📝
KISS代表什么?KISS是 Keep It Stupid Simple or Keep It Simple, Stupid 的缩写。
它有什么含义?这个原则是我在多年软件工程中取得巨大成功的一个关键。今天的软件工程师和开发人员之间最普遍的一个问题是:他们更倾向于解决复杂的问题。
——
Sally
于 2016-07-24 📝
源码
包括cardView, tabLayout, navigationView, recyclerView, inputLayout, dialogFragment, bottomBar.
Bottom navigationdemo单纯底部的导航条。How to build
——
Sally
于 2016-07-13 📝
JavaScript OutputJavaScript does not have any built-in print or display functions.
JavaScript can “display” data in different ways:
writing
——
Sally
于 2016-07-11 📝
SQL : Structured Query Language
12345# 所有表的信息select table status from database_name;# 查询库中表的个数,select database_name; show tables; select fou
——
Sally
于 2016-07-08 📝
创建时间实例
Time.new(year, month, day, hour, min, sec, usec_with_frac)
123456Time.new => 2016-07-05 14:41:25 +0800Time.new(2016) => 2016
——
Sally
于 2016-07-05 📝
常用基本命令
w 显示目前登录系统的用户信息
who 显示目前登录系统的用户信息 whoami
last 显示近期用户或终端的登录情况 /var/log/wtmp
lastlog 查看所有用户最近一次登录信息 /var/log/lastlog
ctrl+u 清除当前输入的命令
——
Sally
于 2016-07-01 📝
动画视图使用场景和过渡 Animating Views Using Scenes and Transitions活动的用户界面会经常改变来响应用户的输入或其他事件。例如,一个活动,其中包含一个表单,用户可以在该表单键入搜索查询,当用户提交表单时,隐藏当前的表单并显示搜索结果列表。
——
Sally
于 2016-06-30 📝
高效的加载大的位图读取位图的规模(大小)和类型 read bitmap dimensions and typedecodeByteArray(), decodeFile(), decodeResources()
BitmapFactory类提供了一些解码方法(decodeByt
——
Sally
于 2016-06-28 📝