我收集的一些开源项目

这交互炸了:一分钟让你拥有微信拖拽透明返回PhotoView
http://mp.weixin.qq.com/s/dW6t1hoVl_mqPx6mO_Tssg
高仿微信可拖拽返回PhotoView
https://github.com/githubwing/DragPhotoView
https://github.com/chrisbanes/PhotoView

《云阅》一个仿网易云音乐UI,使用Gank.Io及豆瓣Api开发的开源项目
http://mp.weixin.qq.com/s/jsDov5TFGO2DBywZ8QHlYQ
https://github.com/youlookwhat/CloudReader

Android如何实现茄子快传
https://mp.weixin.qq.com/s/V_KH5hlRXMP1WKLsw7uMww
https://github.com/mayubao/KuaiChuan

==========================

//Android 开源项目分类
https://github.com/Trinea/android-open-project/tree/master/%E7%B9%81%E9%AB%94%E4%B8%AD%E6%96%87%E7%89%88

//GitHub 优秀的 Android 开源项目
http://www.open-open.com/lib/view/open1416808977430.html#articleHeader11

2016Android开源项目及库汇总
http://www.jianshu.com/p/f498179798b5

//泡在网上的日子
http://www.jcodecraeer.com/a/opensource/2016/0121/3903.html

//MVP例子集锦
https://github.com/wenzhihao123/Android-rxjava-retrofit-okhttp-app

https://gold.xitu.io/entry/585ba05561ff4b0058041f6b/view

https://github.com/saiwu-bigkoo/Android-PickerView
//模仿微信图片点击全屏效果
http://www.apkbus.com/thread-267329-1-1.html

//第三方刷新库
http://gold.xitu.io/entry/570f716a1ea493006b5ecfbb

GitHub地址:https://github.com/Aspsine/SwipeToLoadLayout
GitHub地址:https://github.com/cymcsg/UltimateRecyclerView
GitHub地址:https://github.com/Aspsine/IRecyclerView
GitHub地址:https://github.com/WuXiaolong/PullLoadMoreRecyclerView
GitHub地址:https://github.com/cundong/HeaderAndFooterRecyclerView

https://github.com/tuesda/CircleRefreshLayout

https://github.com/imallan/JellyRefreshLayout

PullableLayout可以很容易地拉至加载功能添加到您的应用程序的顶部,左侧,底部和右侧
https://github.com/zongren/PullableLayout

一个牛逼的刷新控件TwinklingRefreshLayout
https://github.com/lcodecorex/TwinklingRefreshLayout

//XRecyclerView
http://www.see-source.com/androidwidget/detail.html?wid=587

//Added Load More to Ultra Pull to Refresh for Android. Support all the views.
https://github.com/captainbupt/android-Ultra-Pull-To-Refresh-With-Load-More

//BGARefreshLayout-Android可以对所有控件实现下拉刷新和上拉加载更多功能
http://www.23code.com/bgarefreshlayout-android/

//LoadingLayout
https://gold.xitu.io/post/583c242061ff4b006b59c7fb

//可适配所有视图的下拉刷新上拉加载,并支持各种风格。
https://github.com/canyinghao/CanRefresh

//掘金安卓社区
http://gold.xitu.io/welcome/android

/** 自定义view
http://www.gcssloop.com/customview/Canvas_BasicGraphics

//视频播放器
https://github.com/jjdxmashl/jjdxm_ijkplayer

https://github.com/curtis2/SuperVideoPlayer

https://github.com/supercwn/SuperPlayer

基于 ijkplayer 的视频播放器,仿 Bilibili 客户端,集成沉浸式全屏、弹幕、触屏控制、视频源切换等功能
https://gold.xitu.io/entry/583d2d8ca22b9d006a9241f8

//开关
https://github.com/kyleduo/SwitchButton

//数据库
https://github.com/requery/requery

圆弧刻度温度进度条
https://gold.xitu.io/entry/582ecede67f35600633eb136

通用PopupWindow,几行代码搞定PopupWindow弹窗
https://gold.xitu.io/entry/583fee8d61ff4b006c1b07de

自定义对话框应该这样写
https://gold.xitu.io/entry/58451816128fe10058aee0ca

Android Studio 快速开发之道
https://gold.xitu.io/entry/583bd4a2c59e0d006b419b0d

引导界面滑动导航 + 大于等于1页时无限轮播 + 各种切换动画轮播效果
https://github.com/bingoogolapple/BGABanner-Android

MVP 开发框架再试 - 程序员如何更优雅的看直播
App based on Material Design + MVP + Rxjava + Retrofit + Okhttp + Glide + Cache + theme + others
https://gold.xitu.io/entry/58456f14a22b9d007aa1e3f7

AndroidIOS风格底部选择器(支持时间,日期,自定义)
http://blog.csdn.net/androidmsky/article/details/53302959

MaterialEditText
https://github.com/rengwuxian/MaterialEditText

ExpandableTextView
https://github.com/Carbs0126/ExpandableTextView

//通用的adapter
https://github.com/hongyangAndroid/baseAdapter

CalendarListview是一个高度定制的日期选择器,可以满足多选日期的需求
https://github.com/henry-newbie/CalendarView

Android酷炫实用的开源框架(UI框架)
http://www.runoob.com/w3cnote/android-ui-framework.html

Android自定义控件三部曲文章索引
http://blog.csdn.net/harvic880925/article/details/50995268

一个绚丽的loading动效分析与实现!
http://blog.csdn.net/tianjian4592/article/details/44538605

基于RxJava的下载工具。支持多线程下载和断点下载,智能判断是否支持多线程下载和断点下载。基于RxJava和改造打造的下载工具,支持多线程下载和断点续传,智能判断是否支持断点续传等功能
https://github.com/ssseasonnn/RxDownload

一个蛮酷的加载进度条
https://github.com/zhangyuChen1991/ZYDownloading

一个Android定制的ListView和滚动型上拉放大项。
https://github.com/Frank-Zhu/PullZoomView

Swipebacklayout及Activity启动的动画
http://blog.csdn.net/xiechengfa/article/details/45317503

SwipeBackHelper及Activity启动的动画
https://github.com/Jude95/SwipeBackHelper

Android6.0 权限适配及兼容库的实现
https://gold.xitu.io/entry/585cdeec61ff4b0063ef3ba7/view

球形水波百分比控件
https://gold.xitu.io/entry/585cdda1128fe1006de45502/view

Android 自定义 ClearEditTextView
https://gold.xitu.io/entry/585c8bab61ff4b00688bb0cb/view

Android 自定义价格日历控件
https://gold.xitu.io/entry/583414a2570c35006c24c581

Android时间选择器
下载地址
http://www.apkbus.com/thread-257790-1-1.html
compile ‘com.jzxiang.pickerview:TimePickerDialog:0.9.2’

Android自定义弹窗——右上角悬浮关闭
http://blog.csdn.net/qqyanjiang/article/details/51556618

歌词显示控件
LyricViewhttps://gold.xitu.io/entry/5861cb798d6d810065f78635/view

https://github.com/WuLiFei/LyricViewDemo

RxRetrofit - 终极封装 - 深入浅出 & 文件上传
https://gold.xitu.io/entry/585e444961ff4b005814b3e8/view

http://www.jianshu.com/p/e04690cba093

Android 开发人员不得不收集的代码 (持续更新中)
https://gold.xitu.io/entry/583cf7bac59e0d006b477dff

下载不应该让人感到痛苦,Aria,致力于让下载傻瓜化。
https://gold.xitu.io/entry/5850f475570c350069de3403

菜单开源库装逼大全
http://www.jianshu.com/p/e04690cba093

自定义View
https://github.com/xinghongfei/awesome-view
编写自定义 View 并发布到 JCenter
https://gold.xitu.io/entry/583bcd0aac502e006c27583d/view

AndAndroid 自定义 View 合集
https://gold.xitu.io/entry/58466f9fac502e006bb275e0/view

打造酷炫 AndroidStudio 插件
https://gold.xitu.io/entry/5862648161ff4b00582c467e/view

PagerSlidingTabStrip 从头到脚 | 掘金技术征文
https://gold.xitu.io/entry/5860843ada2f600065977f7d/view

hellocharts-android-Android 图表开源库的使用 (一)
https://gold.xitu.io/entry/58637011ac502e006745f90f/view

仿时钟表盘自定义view
http://m.blog.csdn.net/article/details?id=53228258

直接拿去用!每个App都会用到的LoadingLayout
https://gold.xitu.io/entry/583c406361ff4b006cc717a2/view

一个可以实现滑动解锁,滑动接听效果的控件
https://gold.xitu.io/entry/5832947b8ac2470061c46f38/view

一款强大的 Android 底部导航
https://gold.xitu.io/entry/5833b8458ac247005a1a11fe/view

持续收集 Android Studio 好用的插件~~ 只选对的!
https://gold.xitu.io/entry/583543f9d20309005fe2a21a/view

RxJava+Retrofit+OkHttp 封装
https://gold.xitu.io/entry/58395fcc128fe1006ab1609d/view

基于 ijkplayer 的视频播放器,仿 Bilibili 客户端,集成沉浸式全屏、弹幕、触屏控制、视频源切换等功能
https://gold.xitu.io/entry/583d2d8ca22b9d006a9241f8/view

高仿百度外卖个人中心,让你的界面和我一起浪起来~
https://gold.xitu.io/entry/583fbc5cac502e006cbadc6a/view

android 表单验证框架,正则、非空、长度、密码等等等
https://gold.xitu.io/entry/583fdf38a22b9d007a832d37/view

RxJava+Retrofit+Okhttp+Mvp
https://gold.xitu.io/entry/5842753661ff4b005885eaae/view

自定义对话框应该这样写
https://gold.xitu.io/entry/58451816128fe10058aee0ca/view

Android 通用标题栏组合控件
https://gold.xitu.io/entry/5847c1d8128fe10057978b4e/view
//常用的工具第三方包

//百分比
compile 'com.android.support:percent:25.0.0'
//web抓包
compile 'org.jsoup:jsoup:1.10.1'
//视频框架
compile 'fm.jiecao:jiecaovideoplayer:3.6.3'
//侧滑删除
compile 'com.yanzhenjie:recyclerview-swipe:1.0.1'

compile 'me.codeboy.android:align-text-view:2.3.0'

compile 'com.yanzhenjie:recyclerview-swipe:1.0.1'
compile 'com.jcodecraeer:xrecyclerview:1.2.7'
//图片加载
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'net.steamcrafted:materialiconlib:1.0.3'

compile 'com.android.support:recyclerview-v7:25.1.0'
//卡片
compile 'com.android.support:cardview-v7:25.1.0'

compile 'com.android.support:design:25.1.0'
//分包 防止65535
compile 'com.android.support:multidex:1.0.1'

compile 'com.github.bumptech.glide:glide:3.5.2'
//loading 加载 
compile 'com.wang.avi:library:2.1.2'

compile 'io.reactivex:rxjava:1.1.6'

compile 'io.reactivex:rxandroid:1.2.1'

compile 'com.squareup.okhttp3:logging-interceptor:3.4.0-RC1'

compile 'com.squareup.okhttp3:okhttp-urlconnection:3.2.0'

compile 'com.squareup.retrofit2:retrofit:2.1.0'

compile 'com.squareup.retrofit2:converter-scalars:2.1.0'

compile 'com.squareup.retrofit2:converter-gson:2.1.0'

compile 'org.greenrobot:eventbus:3.0.0'

compile 'com.squareup.okio:okio:1.8.0'

compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
//侧滑删除
compile 'com.nikhilpanju.recyclerviewenhanced:recyclerviewenhanced:1.0.0'

compile 'com.commit451:PhotoView:1.2.4'

compile 'com.nineoldandroids:library:2.4.0'
Gson 工具
//针对安卓做过优化
compile 'com.alibaba:fastjson:1.1.52.android'
    //未优化
compile 'com.alibaba:fastjson:+'
compile 'com.google.code.gson:gson:2.2.4'

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//sp存储和读取
SharedPreferences mSharedPreferences = MyApplication.getContextObject().getSharedPreferences("loginUser", Context.MODE_PRIVATE);

SharedPreferences.Editor editor = mSharedPreferences.edit();
editor.putInt("userid",data.get(0).getData().getUserid());
editor.putString("username",data.get(0).getData().getUsername());
editor.putString("litpic",data.get(0).getData().getLitpic());
editor.putString("lastlogintime",data.get(0).getData().getLastlogintime());
editor.putString("state","1");
editor.commit();
Log.d("HomeFragment_4", "data.get(0).getData().getUserid():" + data.get(0).getData().getUserid());

SharedPreferences sp = MyApplication.getContextObject().getSharedPreferences("loginUser", Context.MODE_PRIVATE);
int uid=sp.getInt("userid",0);
String username=sp.getString("username","");
String litpic=sp.getString("litpic","");
String lastlogintime=sp.getString("lastlogintime","");

1
2
3
4
//唤起qq
PackageManager manager = mActivity.getPackageManager();
Intent openQQ = manager.getLaunchIntentForPackage("com.tencent.mobileqq");
this.startActivity(openQQ);
文章目录
本站总访问量 | 本文总阅读量