摘要: public class MyAdapter extends BaseAdapter { Context context; public MyAdapter(Context context) { this.context = context; } private... 阅读全文
posted @ 2014-06-24 11:35 kevindoit 阅读(218) 评论(0) 推荐(0)
摘要: 1、使用arrayadapter创建ListViewpublic class ArrayAdapterActivity extends ListActivity { @Override public void onCreate(Bundle savedInstanceState) {... 阅读全文
posted @ 2014-06-10 12:15 kevindoit 阅读(209) 评论(0) 推荐(0)
摘要: android中有时候需要用代码穿件uipublic class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onC... 阅读全文
posted @ 2014-06-09 01:08 kevindoit 阅读(209) 评论(0) 推荐(0)
摘要: java IO 是以文件相对程序的流向定义的javaIO流可分为三类1、输入流,输出流2、字节流,字符流3、节点流,处理流(这里用到了装饰着模式)public class IOtest { public static void main(String[] args) throws Except... 阅读全文
posted @ 2014-06-06 15:57 kevindoit 阅读(133) 评论(0) 推荐(0)