这是一个Android工具类库,其包含大量在Android开发中经常用到的工具类或方法,旨在让Android开发变得更简单、更随意、更舒心!
##Usage guide me.xiaopan.android.app
me.xiaopan.android.content
me.xiaopan.android.content.pm
me.xiaopan.android.content.res
me.xiaopan.android.graphics
me.xiaopan.android.graphics.drawable
me.xiaopan.android.hardware
me.xiaopan.android.hardware.camera
me.xiaopan.android.net
me.xiaopan.android.os
me.xiaopan.android.os.storage
me.xiaopan.android.preference
me.xiaopan.android.provider
me.xiaopan.android.util
me.xiaopan.android.view
me.xiaopan.android.view.animation
me.xiaopan.android.webkit
me.xiaopan.android.widget
Dependencies
- android-support-v4.jar 1. FragmentListPagerAdapter.java 2. SimpleFragmentPagerAdapter.java 3. SimpleFragmentStatePagerAdapter.java 4. ViewListPagerAdapter.java 5. MessageDialogFragment.java 6. ProgressDialogFragment.java 7. DepthPageTransformer.java 8. ZoomOutPageTransformer.java
- gson-2.2.4.jar 可选的。如果你要使用PreferenceUtils的putObject()和getObject()方法的话就必须要导入此类库
- pinyin4j-2.5.0.jar 可选的。此类库用于实现为中文匹配拼音或者比较两个中文的大小,所以如果你要使用CharUtils的getPinyin系列方法或者StringUtils的compare()方法的话就必须要导入此类库
- 更改项目结构为Gradle
- 删掉了一些多余的工具方法、类
- 优化了一些方法的命名以及组织结构
- 增加MessageDigestUtils.java 方便计算文件MD5或SHA-1摘要信息
- MessageDialogFragment和ProgressDialogFragment中Builder的成员变量改为私有的
- 优化MessageDialogFragment和ProgressDialogFragment的按钮设置方法,并增加中立按钮(NeutralButton)
- 增加FragmentUtils,方便查找Fragment
- 恢复并升级WebViewManager
- 删除WebViewManager
- 增加ContentUtils.java
- BimtapDecoder增加decodeUri()方法,方便读取 Uri指定的图片
- 删除me.xiaopan.android.adapter包,并将其中的类 移至其它包中
- 修复MessageDialogFragment和ProgressDialogFragment的OnDismissListener以及OnCancelListener事件不起作用的BUG
- 增加FragmentBuilder,目的是方便在创建Fragment时添加参数
- 修复BimtapDecoder在4.4上调用decodeFromAssets()或decodeFromStream()方法解码失败,返回null的BUG,原因是同一个InputStream用了两次
##License
/*
* Copyright (C) 2013 Peng fei Pan <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/