下拉刷新很多地方都用到了,新浪微博,微信,百度新闻这里我们使用一个开源的库叫:PullToRefresh开源地址:https://github.com/chenyoca/pull-to-refresh下载地址:https://github.com/chenyoca/pull-to-refresh/a...
分类:
移动开发 时间:
2014-06-10 13:07:47
阅读次数:
392
每个app 都有一个自己的 linux 进程;每个进程都在自己的虚拟机里执行两个app
可以跑在一个进程,一个vm里android app 四大组件:activity,content provider, services, broardcast
receiversContent Resolver ....
分类:
移动开发 时间:
2014-06-10 00:25:23
阅读次数:
287
原题地址:https://oj.leetcode.com/problems/search-in-rotated-sorted-array/题意:Suppose
a sorted array is rotated at some pivot unknown to you beforehand.(i.e...
分类:
编程语言 时间:
2014-06-09 18:43:14
阅读次数:
273
1.关于pippip是python的软件安装工具,下面是pip的使用方法:(1)安装包:pip
install SomePackage(2)查看安装包时安装了哪些文件:pip show --files SomePackage(3)查看哪些包有更新:pip
show --files SomePacka...
分类:
编程语言 时间:
2014-06-09 17:58:04
阅读次数:
240
原题地址:https://oj.leetcode.com/problems/combination-sum/题意:Given
a set of candidate numbers (C) and a target number (T), find all unique
combinations in...
分类:
编程语言 时间:
2014-06-09 17:50:09
阅读次数:
333
今天下载了一份原来来参考,却发现SDK版本偏低我没有安装用SDK
Manager却一直更新不了出现Failed to fetch URL
https://dl-ssl.google.com/android/repository/repository-6.xml, reason:
Connection...
分类:
移动开发 时间:
2014-06-09 17:48:05
阅读次数:
409
原题地址:https://oj.leetcode.com/problems/first-missing-positive/题意:Given
an unsorted integer array, find the first missing positive integer.For
example,G...
分类:
编程语言 时间:
2014-06-09 17:44:43
阅读次数:
980
原题地址:https://oj.leetcode.com/problems/combination-sum-ii/题意:Given
a collection of candidate numbers (C) and a target number (T), find all unique
combi...
分类:
编程语言 时间:
2014-06-09 17:41:58
阅读次数:
320
本文源自在学习《程序员的自我修养》中的心得体会。
对于底层系统程序开发者来说,硬件平台可以抽象为三个主要部件,CPU、内存、I/O控制器。
早期的计算机没有复杂的图形功能,CPU和内存之间的频率差异不大,它们都是连接在同一个bus上面的。其他I/O设备,诸如显示设备、键盘、磁盘等速度比内存、CPU慢...
分类:
其他好文 时间:
2014-06-09 17:38:03
阅读次数:
260
1. 任何执行时间长于
wait_timeout或interactive_timeout选项值得备份,都会导致会话被关闭,这也会隐含执行UNLOCK
TABLES命令。2. 对于使用FLUSH TABLES WITH READ LOCK的备份策略来讲,一个共同的缺陷是它们需要两个独立的线程来完成备份...
分类:
数据库 时间:
2014-06-09 16:49:27
阅读次数:
271