GithubHelp home page GithubHelp logo

sutil's Introduction

SUtil

License

Sloop的工具箱

作者微博: @GcsSloop

如何添加

Gradle

1.在Project的build.gradle 中添加仓库地址

 // JitPack仓库地址
 maven { url "https://jitpack.io" }

示例:

allprojects {
    repositories {
        jcenter()
        // JitPack仓库地址
        maven { url "https://jitpack.io" }
    }
}

2.在Module目录下的build.gradle中添加依赖

    //sutil
    compile 'com.github.GcsSloop:SUtil:v1.0.2'

示例:

dependencies {
   compile fileTree(dir: 'libs', include: ['*.jar'])
   testCompile 'junit:junit:4.12'
   compile 'com.android.support:appcompat-v7:23.0.1'
   //sutil
   compile 'com.github.GcsSloop:SUtil:v1.0.1'
}

内容说明

包名 工具 描述 所需权限
com.sloop.adapter.utils CommonAdapter ListView万能适配器
com.sloop.adapter.utils ViewHolder ViewHolder
com.sloop.animation Rotate3dAnimation 3D翻转动画
com.sloop.animation AnimationListener 动画监听器默认实现类
com.sloop.animation AnimatorListener 属性动画监听器默认实现类
com.sloop.async.utils SHandler 回调函数
com.sloop.io.utils CloseUtils 关闭函数
com.sloop.io.utils FileUtils 文件夹工具 存储卡读取(READ_EXTERNAL_STORAGE)
存储卡写入(WRITE_EXTERNAL_STORAGE)
com.sloop.io.utils StreamUtils 数据流工具
com.sloop.net.utils NetUtils 网络相关工具 网络访问(INTERNET)
查看网络状态(ACCESS_NETWORK_STATE)
com.sloop.utils ActivityUtils Activity相关工具
com.sloop.utils AppUtils Application相关工具
com.sloop.utils DataCheck 数据检查
com.sloop.utils MathUtils 数学工具
com.sloop.utils ToastUtils Toast工具
com.sloop.view.utils DensityUtils 屏幕密度相关工具
com.sloop.view.utils ViewUtils 视图相关工具

版本更新:

版本号 更新内容
v1.0.2 为通用适配器增加追加数据功能,删除WiFiUtils,添加NetUtils
v1.0.1 降低minSdkVersion,提高兼容性
v1.0.0 从jCenter迁移到JitPack,以前版本作废

About Me

License

Copyright (c) 2016 GcsSloop

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.

sutil's People

Contributors

gcssloop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sutil's Issues

待解决问题

完善MathUtils -> 添加角度和弧度的sin cos tan cot 计算。

完善DesignUtils -> 添加sp和px相互转换工具。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.