- 博客(8)
- 资源 (59)
- 问答 (1)
- 收藏
- 关注
原创 HashSet,TreeSet和LinkedHashSet的区别
Set接口Set不允许包含相同的元素,如果试图把两个相同元素加入同一个集合中,add方法返回false。Set判断两个对象相同不是使用==运算符,而是根据equals方法。也就是说,只要两个对象用equals方法比较返回true,Set就不 会接受这两个对象。HashSetHashSet有以下特点 不能保证元素的排列顺序,顺序有可能发生变化 不是同步的 集
2015-03-16 18:00:26 1059
原创 Android--Notification
main.xml代码如下:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica
2015-03-09 17:25:05 768
原创 Android--Vibrator(震动模式)
main.xml代码如下:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica
2015-03-09 10:48:56 1336
原创 Android--快速地搜索手机文件引擎小程序(File I/O)
main.xml代码如下:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica
2015-03-06 10:27:34 1983
原创 Android--OnKeyListener
main.xml代码如下:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica
2015-03-05 16:55:35 2656
原创 Android--ProgressDialog用法
.java代码如下:package org.lxh.demo;import android.app.Activity;import android.app.AlertDialog;import android.app.Dialog;import android.app.ProgressDialog;import android.content.DialogInterface;im
2015-03-05 11:46:53 1570 1
原创 Android--Activity之间的跳转(Intent)
1.main.xml代码如下:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="verti
2015-03-04 21:13:32 1099 1
原创 Android--页面跳转
1.页面一main.xml代码如下:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="ve
2015-03-04 20:47:03 1307 1
android上拉加载,下拉刷新listview
2015-09-05
ripple-effect android eclipse 为控件增加涟漪效果
2015-08-23
android-短信验证码截取自动填入源码
2015-08-16
android 截取短信验证码自动输入Demo
2015-08-16
Android二维码扫描识别-二维码生成实例demo
2015-08-14
Android源码--基于Baas上拉加载、下拉刷新
2015-07-23
Android 百战经典-Android补间动画(Tween)大观园
2016-03-20
android 仿iOS弹出框效果demo
2015-10-29
android 邮箱验证EditText DEMO源码
2015-10-29
Android引导页Demo(第一次进入应用时加载)
2015-10-10
Android 圆形ImageView 源码Demo
2015-09-21
ListView 子控件单击事件混乱
2015-06-13
TA创建的收藏夹 TA关注的收藏夹
TA关注的人