上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 36 下一页
  2016年4月8日
摘要: 阅读全文
posted @ 2016-04-08 19:14 寻步 阅读(1245) 评论(0) 推荐(0) 编辑
摘要: Intent intent = new Intent(Intent.ACTION_SENDTO); intent.setType("text/plain"); intent.putExtra(Intent.EXTRA_SUBJECT, "Subject of email"); intent.putExtra(Intent.EXTRA_TEXT, "Body of email"); inte... 阅读全文
posted @ 2016-04-08 16:28 寻步 阅读(290) 评论(0) 推荐(0) 编辑
  2016年3月25日
摘要: LinearLayout 如何动态设置 margin? android中如何在代码中直接设置View的layout_weight属性 阅读全文
posted @ 2016-03-25 20:33 寻步 阅读(267) 评论(0) 推荐(0) 编辑
  2016年3月24日
摘要: public static DatabaseModel getInstance() { return InstanceHolder.sInstance; } private static class InstanceHolder { public static final DatabaseModel sInstance = new Datab... 阅读全文
posted @ 2016-03-24 11:11 寻步 阅读(135) 评论(0) 推荐(0) 编辑
  2016年3月22日
摘要: 设置工具栏,返回操作 阅读全文
posted @ 2016-03-22 15:37 寻步 阅读(796) 评论(0) 推荐(0) 编辑
  2016年2月26日
摘要: /: innerclasses/InheritInner.java // Inheriting an inner class. class WithInner { class Inner {} } //继承内部类 public class InheritInner extends WithInner 阅读全文
posted @ 2016-02-26 15:15 寻步 阅读(1632) 评论(0) 推荐(0) 编辑
  2016年1月14日
摘要: http://tanbing1986411.blog.163.com/blog/static/7259798220103610224434/java static final 初始化1.static修饰(类变量)一个属性字段,那么这个属性字段将成为类本身的资源,public修饰为共有的,可以在类的外... 阅读全文
posted @ 2016-01-14 15:58 寻步 阅读(9305) 评论(0) 推荐(0) 编辑
  2016年1月7日
摘要: http://my.oschina.net/u/1464678/blog/2103591.类(class)可见性修饰符:public—在所有类中可见,在其他包中可以用import导入。 缺省—就是没有修饰符,在同一个包中的类中可见,在其他包中不能用import导入。修饰符:final—终态类,表示该... 阅读全文
posted @ 2016-01-07 23:27 寻步 阅读(882) 评论(0) 推荐(0) 编辑
  2016年1月6日
该文被密码保护。 阅读全文
posted @ 2016-01-06 20:59 寻步 阅读(3) 评论(0) 推荐(0) 编辑
  2015年12月30日
摘要: 我们分解下ArrayList arr = new ArrayList();等同于ArrayList arr = null;//初始化arr = new ArrayList();//实例化这两个过程。初始化就是要在栈中分配一个空间,用来存放初始化的地址。而实例化就是在堆中开辟一个自由的空间出来。... 阅读全文
posted @ 2015-12-30 18:31 寻步 阅读(3218) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 36 下一页