Giter VIP home page Giter VIP logo

androiduikit's Introduction

AndroidUiKit

安卓常用UI组件库。 总结、沉淀、封装优化;为避免重复造轮子,此项目会收集优秀的三方库,或直接引用,或修改源码;目标很明确:快速集成开发,提高效率。

ISwipeRefreshLayout

参考官方SwipeRefreshLayout源码实现,用法一致。支持自定义RefreshView。

经典下拉刷新效果

推荐一个动画库,效果很棒,代码简洁,本文ISwipeRefreshLayout组件可直接使用。代码在手,想怎么搞都行。

参考资料

IDividerItemDecoration

/**
 * features:
 * 1. 支持divider height 、color 、padding 等熟悉设置
 * 2. 自定义Divider Drawable
 * 3. divider绘制位置。call method {@link #setOffsetMode(int)}
 */

 IDividerItemDecoration divierDecoration = new IDividerItemDecoration(this,IDividerItemDecoration.VERTICAL)
                .setVerticalDividerHeight(50)
                .setDividerColor(Color.BLUE)
                .setOffsetMode(IDividerItemDecoration.OFFSET_MODE_TOP)
                .setDividerPadding(30);

   // or setCustomDrawable
   // divierDecoration.setDrawable(getResources().getDrawable(R.drawable.custom_divider))
   recyclerView.addItemDecoration(divierDecoration);

TabLayout

推荐两个库:

本项目在FlycoTabLayout基础上进行修改和裁剪而来。

tablayout

MultiType(复杂列表视图新写法)

MultiType库的基础上,实现的支持上拉加载更多的MultiTypeLoadMoreAdapter, 支持各种layoutmanager布局,加载效果简单,这里就不贴出来了。

另外,MultiType是一个很棒的库,设计优秀,代码简单,完爆各类对Adapter的封装库,值得查阅源码。

FrameAnimDrawable

一个解决安卓帧动画OOM的组件。文章详情

Multi-media selector

图片选择,相信大多数app都有这个功能,这里推荐两个优秀的开源库。

这两个都不错,经过考察结合实际情况,我推荐使用Matisse。

大图浏览(支持超大图)

基于SubsamplingScaleImageView开源库实现,增加单手拖拽等效果。

有焦点item的水平/垂直滚动RecyclerView-LayoutManager。仿Android豆瓣书影音“推荐“频道列表布局。

focusLayoutManager

vplm

BottomDialog 底部弹框

参考与推荐

Thanks 感谢所有开源项目作者。

androiduikit's People

Contributors

yangjiantao 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

Watchers

 avatar  avatar  avatar  avatar  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.