在listview中嵌入Checkbox时,为了使Checkbox在进行上下滑动使首位不受其他位置Checkbox影响,
需要自定义Adapter。这样会导致Checkbox的选择事件和Listview的onItemClick监听冲突。导致
Listview的onItemClick事件不可用,解决方法:
在包涵Checkbox的xml文件中将checkbox设置:
android:fo...
分类:
其他好文 时间:
2015-03-31 00:57:05
阅读次数:
138
问题描述:
用eclipse编译程序,然后在android手机上运行,报错如下:
[2014-06-21 12:56:17 - xmobile17] Installation error: INSTALL_FAILED_MEDIA_UNAVAILABLE
[2014-06-21 12:56:17 - xmobile17] Please check logcat output fo...
分类:
其他好文 时间:
2015-03-30 16:35:34
阅读次数:
226
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the fo...
分类:
其他好文 时间:
2015-03-28 11:34:30
阅读次数:
102
背景:专栏之前写过许多关于DICOM协议的相关文章,有关于概念解析的理论性文章,也有实例演示的应用性文章。目的只有一个,希望能引导大家快速掌握DICOM协议,并着手进行自定义化开发。DICOM协议实现有多种开源库,例如基于C++的DCMTK、基于C#的fo-dicom、基于Java的dcm4che。下面以DCMTK开源库为例,给出一个C-FIND SCU的实例工程,供大家交流学习。...
分类:
其他好文 时间:
2015-03-28 01:16:59
阅读次数:
2213
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without
repeating letters for "abcabcbb" is "abc", which the length is 3. Fo...
分类:
其他好文 时间:
2015-03-22 10:40:52
阅读次数:
321
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:
其他好文 时间:
2015-03-22 01:37:27
阅读次数:
143
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-03-21 21:12:41
阅读次数:
150
JQuery MINIUI 个人感觉用起来很爽,所以在此记录之,以后开发过程可能作为备选项。它能缩短开发时间,减少代码量,使开发者更专注于业务和服务端,轻松实现界面开发,带来绝佳的用户体验。在线下载地址:http://www.miniui.com/。系统主体框架CRUD表单操作tree选择fo...
分类:
Web程序 时间:
2015-03-20 14:18:35
阅读次数:
249
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-03-20 09:12:38
阅读次数:
107
Kinda similar with another palindrome DP from LeetCode. Feel it, it is a bottom-up DP - palindrome subsequence.str = input()slen = len(str)dp = [[0 fo...
分类:
其他好文 时间:
2015-03-20 06:45:44
阅读次数:
107