- 博客(6)
- 收藏
- 关注
转载 Android Intent调用大全、系统自带Intent调用大全
1.从google搜索内容 Intent intent = new Intent(); intent.setAction(Intent.ACTION_WEB_SEARCH); intent.putExtra(SearchManager.QUERY,"searchString") startActivity(intent); 2.浏览网页 Uri uri = Uri.pa
2015-04-15 11:35:44 359
原创 圆形图片和边框
CircleImageView.javapackage com.example.androidtest;import android.content.Context;import android.content.res.TypedArray;import android.graphics.Bitmap;import android.graphics.BitmapShader;i
2014-03-05 17:44:44 1258
转载 android:inputType参数类型说明
android:inputType参数类型说明android:inputType="none"--输入普通字符android:inputType="text"--输入普通字符android:inputType="textCapCharacters"--输入普通字符android:inputType="textCapWords"--单词首字母大小andro
2014-02-27 12:59:37 672
转载 Flex中DataGrid实现列(包括头部)中加入CheckBox全选功能
CheckBoxHeaderRenderer.asview plainpackage { import flash.events.Event; import flash.events.MouseEvent; import mx.collections.ArrayCollection; import
2013-03-12 11:39:39 844
转载 Flex中DataGrid中添加一列复选框(CheckBox)
xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init()" > import mx.managers.PopUpManager; import mx.controls.Al
2013-03-12 11:38:45 2055
原创 动态代理
代理有很多,据说是5种,但常用的只是jdk 的动态代理和CGLIB代理jdk的代理分为静态代理和动态代理,静态代理用的很少,一般都是动态代理,CGLIB代理是生成的目标类的子类,所以类和方法不能声明为final的,要不然就会有问题jdk的代理是必须要实现接口的,而CGLIB不是,但必须要引入jar包,spring中默认使用jdk 的动态代理(实现接口了),除强制设置CGLIB的代理
2013-03-12 11:33:53 734
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人