Android著名开源库
阅读原文时间:2023年07月12日阅读:2

UI方面

1、绘制图表MPAndroidChart、hellocharts: https://github.com/PhilJay/MPAndroidChart
https://github.com/lecho/hellocharts-android

image

2、Lottie动画,支持Android, iOS, React Native,Web: https://github.com/airbnb/lottie-android

Example1.gif

3、RecyclerView万能适配器: https://github.com/CymChad/BaseRecyclerViewAdapterHelper

4、Android智能下拉刷新框架-SmartRefreshLayout:https://github.com/scwang90/SmartRefreshLayout
android-Ultra-Pull-To-Refresh:https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh

gif_practive_weibo.gif

5、通过手机缩放图片PhotoView:https://github.com/chrisbanes/PhotoView
https://github.com/Piasy/BigImageViewer

6、Android过渡动画:https://github.com/lgvalle/Material-Animations

transition_explode.gif

7、圆形图片ImageVIew:https://github.com/hdodenhof/CircleImageView

image

8、Android侧滑删除空间AndroidSwipeLayout:https://github.com/daimajia/AndroidSwipeLayout
https://github.com/yanzhenjie/SwipeRecyclerView

delete.gif

9、小圆点ViewPagerIndicator:https://github.com/JakeWharton/ViewPagerIndicator
https://github.com/ongakuer/CircleIndicator

image

10、Android开源弹幕引擎·烈焰弹幕使:https://github.com/Bilibili/DanmakuFlameMaster

11、微信图片压缩算法:https://github.com/Curzibn/Luban

12、三级联动空间(时间选择器、省市区三级联动):https://github.com/Bigkoo/Android-PickerView

timepicker.gif

13、Android广告图片轮播控件:https://github.com/youth5201314/banner

image

14、Android状态栏透明(沉浸式):https://github.com/laobie/StatusBarUtil

set_translucnet.png

15、抽屉菜单:https://github.com/mikepenz/MaterialDrawer

screenshots1.png

16、webView和native交互JsBridge:https://github.com/lzyzsd/JsBridge

image

17、仿iOS SwitchButton:https://github.com/zcweng/SwitchButton

21879.gif

18、点赞、收藏动画:https://github.com/venshine/GoodView
https://github.com/ChadCSong/ShineButton

screenshot.gif

19、加载动画:https://github.com/81813780/AVLoadingIndicatorView

avi.gif

20、显示数值的进度条NumberProgressBar:https://github.com/daimajia/NumberProgressBar

progress.gif

21、强大的FlycoTabLayout:https://github.com/H07000223/FlycoTabLayout

preview_1.gif

22、abLayout和CoordinatorLayout相结合的折叠控件:https://github.com/hugeterry/CoordinatorTabLayout

show1.gif

23、无限循环的视图页ViewPager:https://github.com/Devlight/InfiniteCycleViewPager

InfiniteCycleViewPager.gif

24、浮动菜单:https://github.com/Nightonke/BoomMenu

ham-button.gif

25、Android Material风格对话框:https://github.com/afollestad/material-dialogs

dialog.jpg

26、RecyclerView item动画:https://github.com/wasabeef/recyclerview-animators

demo.gif

27、阿里电商复杂布局vlayout:https://github.com/alibaba/vlayout

vlayout.gif

28、Google 流式布局FlexboxLayout:https://github.com/google/flexbox-layout

flexbox-layoutmanager.gif

29、蜂巢布局HiveLayoutManager:https://github.com/Chacojack/HiveLayoutManager

HiveLayoutManager.png

30、安卓选择器类库,包括日期选择器、时间选择器、单项选择器、双项选择器、城市地址选择器、车牌号选择器、数字选择器、星座选择器、生肖选择器、颜色选择器、文件选择器、目录选择器等,可自定义顶部及底部界面:
https://github.com/gzu-liyujiang/AndroidPicker

time.gif

31、美团城市选择,热门标签:https://github.com/zaaach/CityPicker

screen.gif

32、跑马灯View:https://github.com/gongwen/MarqueeViewLibrary

screen_shot.gif

33、MD风格日期时间选择器:https://github.com/wdullaer/MaterialDateTimePicker

MaterialDateTimePicker.png

34、app引导页:https://github.com/PaoloRotolo/AppIntro

intro.png

35、新手引导库,遮罩层:https://github.com/binIoter/GuideView

img1.png

36、Android小圆点、徽章控件https://github.com/bingoogolapple/BGABadgeView-Android

8f5ab3aa-5db8-11e6-808c-6033f5d5c4ec.gif

37、时间轴:https://github.com/vipulasri/Timeline-View

showcase.png

38、搜索控件SearchView:https://github.com/MiguelCatalan/MaterialSearchView

voice.gif

39、带标签的ImageView:https://github.com/wujingchao/SimpleTagImageView
https://github.com/linger1216/labelview

demo.jpg

40、支持自定义字体的TextView动画效果:https://github.com/hanks-zyh/HTextView

demo5.gif

41、Toast:https://github.com/GrenderG/Toasty

collage.png

42、类似时间轴、任务进度StepView:https://github.com/baoyachi/StepView

splash.png

43、用户使用引导:https://github.com/KeepSafe/TapTargetView

video.gif

44、键盘面板冲突及布局闪动处理方案:https://github.com/Jacksgong/JKeyboardPanelSwitch

non-fullscreen_resolved.gif

45、emojis表情:https://github.com/rockerhieu/emojicon

sample.jpg

46、选择器:https://github.com/lantouzi/WheelView-Android

demo.png

47、解锁功能:https://github.com/aritraroy/PatternLockView

pattern_lock_view_small.gif

48、室内地图MapView:https://github.com/onlylemi/MapView

android_mapview_1.gif

49、进度条:https://github.com/woxingxiao/BubbleSeekBar

demo3.gif

50、闪光字体:https://github.com/facebook/Shimmer

shimmer.gif

51、Bootstrap风格安卓主题:https://github.com/Bearded-Hen/Android-Bootstrap

Bootstrap.png

52、有动画效果checkbox:https://github.com/andyxialm/SmoothCheckBox

smoothcb.gif

53、刮刮乐:https://github.com/sharish/ScratchView

scratch_image_view_demo.gif

54、侧滑返回SwipeBackLayout:https://github.com/ikew0ng/SwipeBackLayout
https://github.com/bingoogolapple/BGASwipeBackLayout-Android

ec784a3e-d824-11e6-9649-7397e5aad7eb.gif

55、二维码zxing:https://github.com/zxing/zxing
BGAQRCode-Android:https://github.com/bingoogolapple/BGAQRCode-Android

5d788730-5d8c-11e6-836a-61e885e05453.gif

56、UI大集合:https://github.com/wasabeef/awesome-android-ui

57、日历控件:https://github.com/huanghaibin-dev/CalendarView

custom_expand.png

图片加载库

1、Universal Image Loader(老牌):https://github.com/nostra13/Android-Universal-Image-Loader

2、Google app都在使用的Glide(stars:23W+):https://github.com/bumptech/glide

3、square出品的picasso:https://github.com/square/picasso

4、Facebook出品的Fresco:https://github.com/facebook/fresco

5、图片裁剪uCrop:https://github.com/Yalantis/uCrop

preview.gif

6、图片选择库TakePhoto:https://github.com/crazycodeboy/TakePhoto

takephoto_preview.png

7、多图选择器Picture Selector:https://github.com/LuckSiege/PictureSelector

2.jpg

网络、异步请求库

1、Volley:https://github.com/mcxiaoke/android-volley

2、okhttp:https://github.com/square/okhttp

3、retrofit:https://github.com/square/retrofit

4、RxJava:https://github.com/ReactiveX/RxJava

5、RxAndroid:https://github.com/ReactiveX/RxAndroid

6、android-async-http:https://github.com/loopj/android-async-http

7、okhttp-OkGo:https://github.com/jeasonlzy/okhttp-OkGo

8、fastjson:https://github.com/alibaba/fastjson

数据库

1、Greendao:http://greenrobot.org/greendao/

2、Realm:https://realm.io/news/realm-for-android/

3、LitePal :https://github.com/LitePalFramework/LitePal

事件总线

1、EventBus:http://greenrobot.org/eventbus/

2、Otto:https://github.com/square/otto

3、RxBus:

public class RxBus {
    private final Subject<Object> mBus;
    private RxBus() {
        mBus = PublishSubject.create();
    }
    public static RxBus getDefault() {
        return RxBusHolder.sInstance;
    }
    private static class RxBusHolder {
        private static final RxBus sInstance = new RxBus();
    }
    public void post(Object o) {
        mBus.onNext(o);
    }
    public <T> Observable<T> toObservable(Class<T> eventType) {
        return mBus.ofType(eventType);
    }
}