dpc761218914 / JustNotes

javaweb,android,node.js各种不错的项目汇总
8 stars 0 forks source link

Android开源组件介绍 #2

Open dpc761218914 opened 8 years ago

dpc761218914 commented 8 years ago

1、android注解框架 butterknife
优点:省去写findViewById以及Onclick监听事件冗长代码,(已使用,star多) https://github.com/JakeWharton/butterknife 一些用法介绍https://github.com/mengdd/AndroidButterKnifeSample

2、android UI相关 https://github.com/wasabeef/awesome-android-ui android UI各种好用的组件集合 https://github.com/navasmdc/MaterialDesignLibrary MaterialDesign控件设计风格特别好用 http://www.jianshu.com/p/1e6eed09d48b MaterialDesign项目使用介绍 https://github.com/burgessjp/MaterialDesignDemo 实例 https://github.com/chenyangcun/MaterialDesignExample 豆瓣书API在MeterialDesign介绍(花千骨)

https://github.com/pedant/sweet-alert-dialog 对话框(star最多,有动画效果的对话框,) https://github.com/afollestad/material-dialogs (简洁,就用它了)

https://github.com/wdullaer/MaterialDateTimePicker 时间选择器

http://www.jianshu.com/p/551266dbd735 还不错的EditText实现方法

https://github.com/futuresimple/android-floating-action-button 悬浮按钮(和知乎一样的) https://github.com/rengwuxian/MaterialEditText (酷炫的EditText输入框) http://www.tuicool.com/articles/7BJBZb ToorBar详解还不错

app 切换皮肤介绍 http://www.jianshu.com/p/af7c0585dd5b

Android 主题换肤的库子 https://github.com/burgessjp/ThemeSkinning https://github.com/hongyangAndroid/AndroidChangeSkin (star最多)

3、图片处理框架(facebook) 目前最火 https://github.com/facebook/fresco https://github.com/bumptech/glide (google推出,专注平滑展示图片)

https://github.com/hdodenhof/CircleImageView 圆形头像图片处理

4、网路访问框架 okhttps这里可以直接用okhttputils封装好了okhttps的工具类 https://github.com/hongyangAndroid/okhttputils https://github.com/jeasonlzy/okhttp-OkGo (签到APP用到了) https://github.com/square/retrofit retrofit 更好的配合restful API使用 使用教程 http://www.open-open.com/lib/view/open1453552147323.html

5、json和javabean转换工具类GSON http://blog.csdn.net/xin917480852/article/details/50891092 转化方法 https://github.com/zzz40500/GsonFormat gson工具类

6、app主体结构 https://github.com/hlgao/FragmentTabHost (fragment+viewpage+tab)底部 (FragmentTabHost + ViewPager实现Android底部Tab) 代码结构 参考: https://github.com/xinghongfei/LookLook 新闻阅读类软件 https://github.com/xulailing/CNiaoShop 菜鸟商城

https://github.com/JohnTsaiAndroid/CoolMarket 仿酷市场的Demo,MaterialDesign风格使用

7、底部菜单的实现 fragmentTabHost

8、图文列表使用 recycleView 是listView的升级版 SwipeRefreshLayout加上recyleview 下拉刷新,上拉加载更多 https://github.com/android-cjj/Android-MaterialRefreshLayout (SwipeRefreshLayout升级版,可以有更多好看的特效,推荐使用) 菜鸟窝上的教程http://blog.csdn.net/kakayang2012/article/details/51764206

\ 9、android开发规范** http://tianshaojie.com/android-code-style/ (命名可以参考)

10、首页图片轮播

https://github.com/youth5201314/banner Android广告图片轮播控件,支持无限循环和多种主题,可以灵活设置轮播样式、动画、轮播和切换时间、位置、图片加载框架等! https://github.com/daimajia/AndroidImageSlider 菜鸟商城图片轮播

https://github.com/bingoogolapple/BGABanner-Android (广告轮播新一些,使用简单一点儿)

11、图片查看组件,支持手势缩放

https://github.com/chrisbanes/PhotoView

12、android工具类的使用 https://github.com/Blankj/AndroidUtilCode

13、省心省力的Item布局 https://github.com/maimingliang/BaseItemLayout