07 2017 档案

摘要:1、thead.start(); thread.join(); 2、thread2.start();thread2.join(); 就会先执行thread1再执行thread2 阅读全文
posted @ 2017-07-24 18:03 阿金好掂 阅读(306) 评论(0) 推荐(0)
摘要:1、在已建立的Java工程中,拷贝至demo中 2、打开.project修改工程名为demo的名字即可。 阅读全文
posted @ 2017-07-23 09:38 阿金好掂 阅读(272) 评论(0) 推荐(0)
摘要:1、在adapter或fragment中定义接口 如: public interface LongClickListener { void getClickName(String name); } 然后在需要触发该接口方法中添加 如: holder.img_avatar.setOnLongClick 阅读全文
posted @ 2017-07-22 18:05 阿金好掂 阅读(789) 评论(0) 推荐(0)
摘要:首页oncreate加JMessageClient.registerEventReceiver(this); 必须加上所有的onEvent方法,不然会报错 阅读全文
posted @ 2017-07-01 18:47 阿金好掂 阅读(621) 评论(0) 推荐(0)