m_listView:textview在tableview上,同时需要修改tableview高度//注册观察者 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboarWillShow:) na...
分类:
其他好文 时间:
2014-07-09 14:56:17
阅读次数:
185
在 APP应用中,listview的异步加载图片方式能够带来很好的用户体验,同时也是考量程序性能的一个重要指标。关于listview的异步加载,网上 其实很多示例了,中心思想都差不多,不过很多版本或是有bug,或是有性能问题有待优化。有鉴于此,本人在网上找了个相对理想的版本并在此基础上进行改 造,下面就让在下阐述其原理以探索个中奥秘
贴张效果图先:
异...
分类:
其他好文 时间:
2014-07-09 10:58:16
阅读次数:
241
最近工作中,发现了一个bug,是和ListView Adapter有关的。产生了FC,描述信息大约是
"The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a b...
分类:
其他好文 时间:
2014-07-08 20:09:41
阅读次数:
199
- (void)savePhotoToAlbum
{
ZoomScrollView *zoomScrollView = (ZoomScrollView*)[self.scrollView
viewWithTag:BEGIN_TAG_FOR_IMAGE+self.currentImagePage];
dispatch_async(dispatch_get_global_que...
分类:
移动开发 时间:
2014-07-08 19:34:27
阅读次数:
417
转载请注明出处
http://blog.csdn.net/pony_maggie/article/details/18048599
作者:小马
这节课讲视图的生命周期,网络视图,图像视图以及 滚动视图这些概念以及相关的demo演示。前两个概念比较简单,看一看就明白,我这里只是写图像视图以及 滚动视图的课程笔记。
UIImageView用来显示图片。在下...
分类:
移动开发 时间:
2014-07-08 19:28:55
阅读次数:
244
Android L 开发者预览支持库提供两个新的Widgets,RecyclerView和CardView。使用这两个Widgets可以显示复杂的Listview和卡片布局,这两个Widgets默认使用Material design。RecyclerView RecyclerView是一个更高级柔性版本的Listview,RecyclerView是一个能包含很多视图的容器,它能完美的处理循环...
分类:
其他好文 时间:
2014-07-08 19:12:23
阅读次数:
250
android com.handmark.pulltorefresh 使用小技巧...
分类:
移动开发 时间:
2014-07-08 17:56:21
阅读次数:
595
重写viewpager在viewpager里调用getChildAt(position)的时候发现有问题
查资料发现...
分类:
移动开发 时间:
2014-07-08 15:29:26
阅读次数:
201
一些流行的应用的ListView的Item类似下图:
ListView的Divider没有没有覆盖到图片
可以这种来实现,先定义ListView在Layout中:
<ListView
android:layout_width="match_parent"
android:layout_height="match_parent"...
分类:
其他好文 时间:
2014-07-08 14:58:12
阅读次数:
245
为了解决ListView中Item里的Button独立事件响应,可以采用以下方法:
在BaseAdapter的getview里添加红色代码:
@Override
public View getView(int position, View view, ViewGroup arg2) {
view = layoutInflater.from(context).inflate(...
分类:
其他好文 时间:
2014-07-08 13:15:00
阅读次数:
176