本文将介绍ListView和Inflater的使用,将接上一篇文章内容.一.什么是ListView?在android开发中ListView是比较常用的控件,ListView控件可使用四种不同视图显示项目,1.大(标准)图标2.小图标3.列表4.报表,比较常用的是列表的形式.ListItem对象可包含...
分类:
移动开发 时间:
2014-06-18 22:14:17
阅读次数:
354
1、安装扩展 windows下把 xhprof.dll 放到extensions目录下修改配置文件[xhprof]extension=xhprof.so;; directory used by default implementation of the iXHProfRuns; interface....
分类:
其他好文 时间:
2014-06-18 22:13:39
阅读次数:
261
Autowiring of fields failed; nested exception is...........Error creating bean with name 'siteOperaterFactory': Autowiring of fields fa ...........jav...
分类:
编程语言 时间:
2014-06-18 22:12:24
阅读次数:
221
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For e...
分类:
其他好文 时间:
2014-06-18 22:11:44
阅读次数:
200
因为在研究车牌识别算法(plr),遇到了算法 处理的格式问题,可分三个常用格式:0:rgb1:bgr2:yuv422——需要注意的是,这里为啥选yuv422做识别,当然还可选yuv444,最坏打算可选yuv420,主要是考虑颜色识别效果 R代表红,red; G代表绿,green; B代表蓝,b...
分类:
其他好文 时间:
2014-06-18 22:11:01
阅读次数:
228
如果创建如下的XML: darren 创建XML文件在HomeController中,在根目录下创建new.xml文件:public ActionResult Index() { return View(); } [HttpPost] public ActionResult AddXml() ...
分类:
Web程序 时间:
2014-06-18 22:08:31
阅读次数:
176
昨天刚看完BlockingQueue觉得好高级啊,今天扫到1.7就发现了升级版。。。。如果对内容觉得不够充分,可以去看http://www.cs.rochester.edu/u/scott/papers/2009_Scherer_CACM_SSQ.pdf就是作者的论文啦,纯英文。。。比较难啃,但是我...
分类:
编程语言 时间:
2014-06-18 22:07:55
阅读次数:
192
/* 设计模式之单例模式$_instance 必须声明为静态的私有变量构造函数必须声明为私有,防止外部程序 new 类从而失去单例模式的意义getInstance() 方法必须设置为公有的,必须调用此方法以返回实例的一个引用:: 操作符只能访问静态变量和函数 new 对象会消耗内存使用场景:最常用的...
分类:
Web程序 时间:
2014-06-18 22:06:32
阅读次数:
233
厌死了......排位 晋级赛 两连跪 。。。三角形 的那题还是 无限WA 。。。还有 明天又要早起。。。先还是来看下这题吧 话说 好久没写 最短路了 --------- spfa 是我最喜欢的最短路版本 touch me这题 其实相比其它的最短路 还是有个很让人看不懂的地方---让我纠结...
分类:
其他好文 时间:
2014-06-18 22:05:14
阅读次数:
159