-
TextView相关
A Custom TextView with trim textDownloadTo add the ReadMoreTextView library to your Android Studio project, simply add the following gradle dependency:compile 'com.borjabravo:readmoretextview:2.0.1'UsageTo use the ReadMoreTextView on your app, a...…
-
Slide Bar相关
##Android-QuickSideBar帮助快速查阅对应分组的侧边栏,可以配合任意列表,demo中给出配合RecyclerView(浮动分组使用stickyheadersrecyclerview)。####使用gradle 依赖: compile 'com.bigkoo:quicksidebar:1.0.2'Demo 图片Config in xml<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns...…
-
App Intro相关
https://github.com/PaoloRotolo/AppIntro AppIntro is an Android Library that helps you make a cool intro for your app, like the ones in Google apps.##How to useAdd this to your build.gradle:repositories { mavenCentral()}dependencies { compile ...…
-
App Guide相关
##TourGuidehttps://github.com/worker8/TourGuideTourGuideTourGuide is an Android library. It lets you add pointer, overlay and tooltip easily, guiding users on how to use your app. Refer to the example below(this is a trivial example for demo purpo...…
-
BaseRecyclerViewAdapterHelper
#它能做什么? 优化Adapter代码(减少百分之70%代码) 添加点击item点击、长按事件、以及item子控件的点击事件 添加加载动画(一行代码轻松切换5种默认动画) 添加头部、尾部、下拉刷新、上拉加载(感觉又回到ListView时代) 设置自定义的加载更多布局 添加分组(随心定义分组头部) 自定义不同的item类型(简单配置、无需重写额外方法) 设置空布局(比Listview的setEmptyView还要好用!) 添加拖拽item#如何使用它?先在 build.gr...…
-
Android 相机功能模块相关库
material-camera#### Material CameraAndroid’s video recording APIs are very difficult to figure out, especially since a lot of manufacturers like to mount their camera sensors upside down or sideways. This library is a result of lots of research ...…
-
Android 图片功能模块相关库
uCropuCrop - Image Cropping Library for Android This project aims to provide an ultimate and flexible image cropping experience. Made in [Yalantis] (https://yalantis.com/?utm_source=github)Usage Include the library as local library project. ...…
-
Android 下拉刷新相关库
Ultra Pull To Refresh https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh 支持 API LEVEL >= 8。下拉刷新 + 加载更多?本类库是单纯的下拉刷新。如果你需要用到加载更多,看这个项目: https://github.com/liaohuqiu/android-cube-app 先上两张StoreHouse风格的截图! 感谢 CBStoreHouseRefreshControl. ...…
-
Android 应用架构演变
Android 应用架构演变原始架构 Android刚开始的时候没有第三方库,基本方式就是AsyncTask 和Handler配合使用,简单直接没有过多分层设计代码被划分为两层结构:Data Layer(数据层)负责从数据源获取和存储数据;View Layer(视图层)负责处理并将数据展示在UI上 DataProvider提供一些方法,使Activity和Fragment能够实现与数据源的数据交互。这些方法使用AsyncTask在一个单独的线程内执行耗时操作(网络请求、数据库操作等),...…
-
Android Studio中六种依赖
在Android Studio中有六种依赖Compile,Provided,APK,Test compile,Debug compile,Release compileCompilecompile是对所有的build type以及favlors都会参与编译并且打包到最终的apk文件中。ProvidedProvided是对所有的build type以及favlors只在编译时使用,类似eclipse中的external-libs,只参与编译,不打包到最终apk。APK只会打包到apk文件中,...…