//获取地址栏参数function getQueryStringByName(name) { var result = location.search.match(new RegExp("[\?\&]" + name + "=([^\&]+)", "i")); if (result == null ...
分类:
其他好文 时间:
2014-08-23 01:04:49
阅读次数:
210
AbsListView.LayoutParams lp=new AbsListView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,64);这句话的意思是 创建一个布局(LayoutParams)的实例 lp。AbsListView.Layout...
分类:
移动开发 时间:
2014-08-23 00:59:29
阅读次数:
290
有时候我们需要制作自定义的单选列表,但是会遇到一些问题,比如多选,假选问题,所以网上找了找资料,整理一个demo出来,贴一下代码:
<ListView
android:id="@+id/listView1"
android:layout_width="match_parent"
android:layout_height="wrap_co...
分类:
移动开发 时间:
2014-08-22 17:53:19
阅读次数:
381
一台测试服务器上的数据库无法访问,远程能访问服务器1521端口,但是通过pl/sql连不上。 登录数据库服务器,执行: $ lsnrctl statusListening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=1...
分类:
其他好文 时间:
2014-08-22 17:43:49
阅读次数:
236
commons: all of them could use regular-expression to match the result. differences: 1)grep: search for files with patterns. 2)awk: any...
分类:
其他好文 时间:
2014-08-22 15:51:09
阅读次数:
224
function getParameterByName(name) { var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); return match && decodeURICompon...
分类:
其他好文 时间:
2014-08-22 14:21:08
阅读次数:
174
If the receiver is a fault, calling this method does not cause it to fire. ////这句话真心不明白?还请大虾赐教@@...
分类:
移动开发 时间:
2014-08-22 13:03:38
阅读次数:
260
pthread_exit:By having main() explicitly callpthread_exit()as the last thing it does, main() will block and be kept alive to support the threads it cr...
分类:
其他好文 时间:
2014-08-22 12:31:06
阅读次数:
149
由于性子急,翠花上菜:设计模式分类:创建模式、结构模式与行为模式创建模式: 工厂模式(Factory) 单例模式(Signleton) 构建模式(Builder) 原型模式(Prototype)结构模式: 适配器模式(Adapter):Match interfaces of differe...
分类:
其他好文 时间:
2014-08-22 10:34:35
阅读次数:
165
转载自:http://blog.csdn.net/pkxiuluo01/article/details/7380860Adapter是ListView界面与数据之间的桥梁,当列表里的每一项显示到页面时,都会调用Adapter的getView方法返回一个View。如果列表中有很多的项时会占用极大的系统...
分类:
其他好文 时间:
2014-08-21 22:29:14
阅读次数:
258