码迷,mamicode.com
首页 >  
搜索关键字:child    ( 3634个结果
Android开发 ImageButton加载drawable文件问题
有时候我们在给ImageButton加载背景图片的时候,会出现下面的异常: 1 org.xmlpull.v1.XmlPullParserException: Binary XML file line #3: tag requires a 'drawable' attribute or child.....
分类:移动开发   时间:2015-06-16 06:41:18    阅读次数:213
Android之ExpandableList扩展用法(基于BaseExpandableListAdapter)
1.简介 基于基于BaseExpandableListAdapter扩展的ExpandableList用法,现在网上流行的主要有两种:第一种是向BaseExpandableListAdapter传入两个数组,第一个是表示Group(目录头)信息的一维数组,第二个是表示Child(目录子项)的二维数....
分类:移动开发   时间:2015-06-15 20:27:49    阅读次数:132
[LeetCode] Candy 分糖果问题
There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requi...
分类:其他好文   时间:2015-06-14 15:04:07    阅读次数:211
What is a UINavigationTransitionView
**AFAIK UINavigationTransitionView is a class used to animate UINavigationController child views around. It usually contain one or two UIViewControlle...
分类:其他好文   时间:2015-06-13 15:40:55    阅读次数:140
堆排序C++实现
//堆排序C++实现 #include #include using namespace std; void HeapSort(int* arr, int cnt) { function percdown = [&](int* arr, int i, int cnt) //下滤操作 { int child = 0, tmp = 0; for (tmp = arr[i]; 2 * ...
分类:编程语言   时间:2015-06-13 09:53:00    阅读次数:205
GridView的高度自适应
接着上面一篇文章。当GridView不知道parent高度的时候,也就是MeasureSpec是UNSPECIFIED,这个时候,GridView高度为第一个child的高度,并显示滚动条。 1 mItemCount = mAdapter == null ? 0 : mAdapter...
分类:其他好文   时间:2015-06-11 12:43:19    阅读次数:139
Codeforce 水题报告(2)
又水了一发Codeforce ,这次继续发发题解顺便给自己PKUSC攒攒人品吧CodeForces 438C:The Child and Polygon:描述:给出一个多边形,求三角剖分的方案数(n 2 #include 3 #include 4 #include 5 using namespace...
分类:其他好文   时间:2015-06-10 22:14:45    阅读次数:226
js中创建对象的几种方式
js中的几种创建对象的方式。一共有5种:一 , 工厂方式var lev = function() { return this.age;};function Parent() { var child = new Object(); child.name = '小芳'; child.age = 30; ...
分类:Web程序   时间:2015-06-10 19:17:09    阅读次数:117
windows 10 RelativePanel
The newRelativePanelimplements a style of layout that is defined by the relationships between its child elements. It's intended for use in creating ap...
分类:Windows程序   时间:2015-06-10 11:58:21    阅读次数:178
GuozhongCrawler系列教程 (5) TransactionRequest详解
为了实现和维护并发抓取的属性信息提供线程安全的事务请求。TransactionRequest是一个抽象类自己不能设置Processor,却需要实现 TransactionCallBack接口。TransactionRequest是个复合的BasicRequest。他可以将多个PageRequest、BinaryRequest甚至TransactionRequest 自己的对象添加到child集合中...
分类:其他好文   时间:2015-06-09 13:56:30    阅读次数:114
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!