您好,欢迎来到二三娱乐。
搜索
您的当前位置:首页(二十)Android App开发推荐几个gitHub上排名靠前

(二十)Android App开发推荐几个gitHub上排名靠前

来源:二三娱乐

1.Banner gitHub上5000多颗星
现在的绝大数app都有banner界面,实现循环播放多个广告图片和手动滑动循环等功能。因为ViewPager并不支持循环翻页, 所以要实现循环还得需要自己去动手,我就把项目中的控件剔了出来,希望大家觉得有用。目前框架可以进行不同样式、不同动画设置, 以及完善的api方法能满足大部分的需求了。

dependencies{
    compile 'com.youth.banner:banner:1.4.10'  //最新版本
}
  1. BaseRecyclerViewAdapterHelper gitHub上13000多颗星
    是一个强大的RecyclerAdapter框架(),它能节约开发者大量的开发时间,集成了大部分列表常用需求解决方案。为什么会有它?请查看「」该框架于2016年4月10号发布的第1个版本到现在已经一年多了,经历了800多次代码提交,140多次版本打包,修复了1000多个问题,获得了9000多star,非常感谢大家的使用以及反馈。
    dependencies {
            compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
    }

5.沉浸式框架框架:gitHub上3000多颗星
android 4.4以上沉浸式状态栏和沉浸式导航栏管理,包括状态栏字体颜色,一句代码轻松实现,以及对bar的其他设置,尤其解决4.4以下兼容性问题一行代码直接搞定

compile 'com.gyf.barlibrary:barlibrary:2.3.0'

6.webview框架:AgentWeb gitHub上3000多颗星
AgentWeb 是一个基于的 Android WebView ,极度容易使用以及功能强大的库,提供了 Android WebView 一系列的问题解决方案 ,并且轻量和极度灵活

compile 'com.just.agentweb:agentweb:4.0.2' // (必选)
 compile 'com.just.agentweb:download:4.0.2' // (可选)
 compile 'com.just.agentweb:filechooser:4.0.2'// (可选) 

7.自定义View之垂直翻页公告栏文字各种提示效果 gitHub上2000多颗星
俗名:可垂直跑、可水平跑的跑马灯
学名:可垂直翻、可水平翻的翻页公告
Gradle:

compile 'com.sunfusheng:marqueeview:<latest-version>'
  1. 图片选择器框架 :gitHub上将近4000颗星
    一款针对android平台下的图片选择器,支持从相册或拍照选择图片或视频、音频,支持动态权限获取、裁剪(单图or多图裁剪)、压缩、主题自定义配置等功能、适配android 6.0+系统的开源图片选择框架。
    应用实例可参考gitHub地址:

9.基于RxJava2的RxBus2. 主要用于发送事件/订阅事件.类似EventBus. 支持Kotlin

dependencies {
    compile 'com.github.MFlisar:RxBus2:0.2'
}
// Send an event to the bus - all observers that observe this class WITHOUT a key will receive this event
RxBus.get().send(new TestEvent());

// boundObject... can be for example your activity
RxBusBuilder.create(TestEvent.class)
    // this enables the queuing mode! Passed object must implement IRXBusQueue interface, see the demo app for an example
    .withQueuing(rxBusQueue)
    .withBound(this)
    .subscribe(new Consumer<TestEvent>() {
        @Override
        public void accept(TestEvent s) {
            // activity IS resumed, you can safely update your UI for example
         }
    });
// call this for example in your activities onDestroy or wherever appropriate to unsubscribe ALL subscriptions at once that are bound to the boundOBject
RxDisposableManager.unsubscribe(this);
compile 'com.contrarywind:Android-PickerView:4.1.3'

有其它好用的框架大家有推荐的可以及时提出来 我会整理更新和大家一起分享,谢谢😄。

Copyright © 2019- yule263.com 版权所有 湘ICP备2023023988号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务