林集凯

2011年12月24日

嵌套接口

摘要: /******类中嵌套接口*****/class A { interface B{//----------------B void f(); } publicclass BImp implements B{ publicvoid f() {} } privateclass BImp2 implements B{ publicvoid f() {} } publicinterface C{//public----------------C void f(); } class CImp implements C{ publicvoid f() {} } privateclass CImp2 imp 阅读全文

posted @ 2011-12-24 10:14 林集凯 阅读(223) 评论(0) 推荐(0)

2011年3月18日

android adapter的应用

摘要: adapte一般分两类:arrayadapter和simpleadapternew arrayadapter<string> (context,layout,data);data:arraynew simpleadapter(context,data,layout,string[]from,int[]to);from:值 to:键 data:arraylist file (data=new arraylist<map<string,object>>();map<string,object> item=new hashmap<string,o 阅读全文

posted @ 2011-03-18 22:12 林集凯 阅读(171) 评论(0) 推荐(0)