同样是删除cell问题,帮我看看问题出现在哪,谢谢!我的类文件myFile是继承UIViewController的(目的是为了能够在一个view里切换不同的tableView),在myFile.h中定义一个可变数组editContactsList,然而在IB里面添加了一个view,两个tableVi...
分类:
其他好文 时间:
2014-05-23 03:21:49
阅读次数:
380
使用ViewPager作为一个页面进行切换,里面可以存放很多View,但有时在操作View时不小心滑动一下就有可能跳到下一页,这并不是我们想要的,这里就需要重写ViewPager修改它的滑动条件
效果图
程序目录结构
BTViewPager.java
package com.example.viewpagerdemo;
import android.content.Con...
分类:
移动开发 时间:
2014-05-23 02:24:13
阅读次数:
297
第二章 ASM INSTANCE
ASM实例类型:
10g以后ORACLE instance 类型增加了一种ASM类型,参数INSTANCE_TYPE=ASM进行设置。
ASM实例启动命令:
startup nomount启动实例和后台进程,但没有挂载磁盘组
mount以后,实例会启动参数文件中ASM_DISKGROUPS指定的磁盘组,如果参数为空就会触发ORA-15110报错...
分类:
数据库 时间:
2014-05-23 02:22:20
阅读次数:
405
介绍一个list滑动时通过一个text提示Array首字母位置的应用
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce...
分类:
其他好文 时间:
2014-05-23 00:58:42
阅读次数:
326
介绍在在title bar上显示indeterminate progress
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ...
分类:
其他好文 时间:
2014-05-23 00:31:27
阅读次数:
352
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo...
分类:
其他好文 时间:
2014-05-23 00:30:50
阅读次数:
415
注意两点
1.通过android:checkedButton="@+id/lunch"而不是item中的 android:checked="true"设置的某人被选中状态
<RadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
a...
分类:
其他好文 时间:
2014-05-23 00:04:35
阅读次数:
344
话不多少,直接上代码,思路还是挺简单的。
UIWebView *webView = [[UIWebView alloc]initWithFrame:self.view.frame];
// HTML文件来自Project
// 步骤:path - > url - > request with url - > loadRequest
NSStrin...
分类:
编程语言 时间:
2014-05-22 23:53:05
阅读次数:
442
介绍通过方法
@Override
public boolean areAllItemsEnabled() {
return false;
}
@Override
public boolean isEnabled(int position) {
return !mStrings[position].startsWith("-");
}
设置list的可以选和不可选注意有...
分类:
其他好文 时间:
2014-05-22 23:08:09
阅读次数:
388
1> 使用场合* UIImageView: 如果仅仅是显示图片,不需要监听图片的点击*
UIButton: 既要显示图片,又要监听图片的点击2> 相同:能显示图片3> 不同点* UIButton能处理点击事件,
UIImageView不能处理点击事件* UIButton既能显示图片, 又能显示文字*...
分类:
其他好文 时间:
2014-05-22 16:02:38
阅读次数:
198