Giter Club home page Giter Club logo

xframe's Introduction

XFrame — Android快速开发框架(还在整理中,可以先star,先不要用于量产模式)

从小的功能做起,只做必要的封装,让开发更加简单 ———— XFrame

XFrame简介

XFrame你可以理解成是一个Android开发的工具集合。我在写XFrame时就明确了方向,我不会去封装http、图片加载、ioc、orm 等这些听起来非常不错的想法。 为什么呢?这些功能现在都有很强大的框架,我也做不到那么好,而且更新很快,隔段时间就有新的框架出现,每个人都有自己的选择,我不想使用者因为这个局限大家。 我的本意是为了通过封装Android中一些的复杂操作而达到简化Android应用级开发的成本,用最少的代码实现更多的功能,我们只封装那些大部分应用必须用到但有总是增加我们繁琐的工作量。也许市面上单个功能模块有现成,而且很多!我们总是需要去挨着选择,但他们之间并不一定兼容,我们需要浪费在每个项目中的修改、拷贝、维护时间,而XFrame算是你还不错的选择对象!

Banner轮播框架连接

详细文档请前往wiki

特性

XFrame主要有这些功能:(打钩的标示第一版本已完成,其他还在整理中)

  • XLog:可输出漂亮容易查看的日志,支持Json、Xml、Map、List等格式输出,可全局配置
  • XLoadingView:简单实用的页面状态统一管理 ,加载中、无网络、无数据、出错等状态的随意切换
  • XLoadingDialog:简单实现加载等待对话框
  • XPermission:简化Android动态权限管理的操作
  • XRecyclerViewAdapter:一个用于RecyclerView Adapter的开发库,包含添加Header,Footer,加载更多,加载失败,加载到底和支持多种布局
  • XWebView:WebView UI与常见的功能封装
  • XCache:缓存普通的字符串、Bitmap、Drawable、Serializable的java对象、byte数据
  • XStatusBar:实现沉浸式状态栏
  • XToast:简单的吐司使用
  • Utils工具类集合:内置常用工具类
  • 自定义View:内置常用自定义控件

使用步骤

Step 1.依赖XFrame

Gradle

dependencies{
    compile 'com.youth.xframe:xframe:1.0.2'
}

或者引用本地lib

compile project(':xframe')

Thanks

感谢以下开源项目的作者,本项目中有些功能受你们项目灵感的启发,有些功能也用到你们的代码完成。
对此如果有什么意见请与我联系!再次感谢!

License

Copyright 2017 youth5201314

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.

xframe's People

Contributors

youth5201314 avatar

Watchers

Neil avatar

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.