Android rapid development and organization (libraries, plug-ins, commonly used websites)
Please clearly indicate the source when reprinting
1. Official support library
implementation "androidx.core:core-ktx:1.3.2"
implementation "androidx.appcompat:appcompat:1.2.0"
implementation "com.google.android.material:material:1.2.1"
...
It is recommended to migrate to androidx
2. Third-party libraries
Some libraries are released by jitpack and need to be added to build.gradle under the project (can be added directly, once and for all)
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
tool
Gson
- implementation 'com.google.code.gson:gson:2.8.6'
- GitHub: https://github.com/google/gson
- Related articles: Gson parsing tutorial
Glide
- implementation 'com.github.bumptech.glide:glide:4.11.0'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
- GitHub: https://github.com/bumptech/glide
- Related articles: Give you a comprehensive understanding of the usage of Glide 4
Glide Transformations
- implementation 'jp.wasabeef:glide-transformations:4.1.0'
- Github: https://github.com/wasabeef/glide-transformations
Picasso
- implementation 'com.squareup.picasso:picasso:2.71828'
- Official website: http://square.github.io/picasso/
- GitHub: https://github.com/square/picasso
- Related articles: picasso - a powerful Android image download caching library
Picasso Transformations
- implementation 'jp.wasabeef:picasso-transformations:2.2.1'
- Github: https://github.com/wasabeef/picasso-transformations
Butter Knife
- implementation 'com.jakewharton:butterknife:10.2.0'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
- Official website: http://jakewharton.github.io/butterknife/
- GitHub: https://github.com/JakeWharton/butterknife
- Related articles: Butter Knife configuration and usage and plug-ins
Dagger 2 (Google)
- implementation 'com.google.dagger:dagger:2.22.1'
- annotationProcessor 'com.google.dagger:dagger-compiler:2.22.1'
- Github: https://github.com/google/dagger
EventBus
- implementation 'org.greenrobot:eventbus:3.2.0'
- Github: https://github.com/greenrobot/EventBus
- Related articles: Detailed explanation of using EventBus (1) - preliminary use of EventBus Detailed explanation of using EventBus (2) - advanced use of EventBus
greenDAO(database)
- implementation 'org.greenrobot:greendao:3.2.2'
- Github: https://github.com/greenrobot/greenDAO
- Related articles: How to use Android database framework greenDAO3.0 guide
LitePal(database)
- implementation 'org.litepal.guolindev:core:3.2.2'
- Github: https://github.com/guolindev/LitePal
PermissionsDispatcher (6.0 permissions)
- implementation "com.github.hotchemi:permissionsdispatcher:4.6.0"
- annotationProcessor "com.github.hotchemi:permissionsdispatcher-processor:4.6.0"
- GitHub: https://github.com/hotchemi/PermissionsDispatcher
- Related articles: Android6.0 runtime permissions.
RxPermissions (6.0 permissions)
- ** implementation 'com.github.tbruyelle:rxpermissions:0.10.2'**
- GitHub: https://github.com/tbruyelle/RxPermissions
PermissionX (6.0 permission)
- ** implementation 'com.permissionx.guolindev:permissionx:1.4.0'**
- GitHub: https://github.com/guolindev/PermissionX
Android Saripaar v2 (form validation)
- implementation 'com.mobsandgeeks:android-saripaar:2.0.3'
- Github: https://github.com/ragunathjawahar/android-saripaar/
- Related articles: Android form validation, Validation three-party integration.
YUtils (Android rapid development tool collection)
- implementation 'com.github.yechaoa:YUtils:3.1.1'
- GitHub: https://github.com/yechaoa/YUtils
AndroidUtilCode (various utils)
- implementation 'com.blankj:utilcode:1.29.0'
- GitHub: https://github.com/Blankj/AndroidUtilCode
network
OkHttp
- implementation("com.squareup.okhttp3:okhttp:4.9.0")
- Official website: http://square.github.io/okhttp/
- GitHub: https://github.com/square/okhttp
okhttp-utils (Hongyang_)
- implementation 'com.zhy:okhttputils:2.6.2'
- GitHub: https://github.com/hongyangAndroid/okhttputils
- Related articles: Android OkHttp complete analysis It’s time to understand OkHttp
OkGo
- implementation 'com.lzy.net:okgo:3.0.4'
- GitHub: https://github.com/jeasonlzy/okhttp-OkGo
xUtils3
- implementation 'org.xutils:xutils:3.8.3'
- GitHub: https://github.com/wyouflf/xUtils3
Retrofit
- implementation 'com.squareup.retrofit2:retrofit:2.9.0'
- Official website: http://square.github.io/retrofit/
- GitHub: https://github.com/square/retrofit
RX series: https://github.com/ReactiveX
RxJava
- implementation "io.reactivex.rxjava2:rxjava:3.0.7"
- Github: https://github.com/ReactiveX/RxJava
RxAndroid
- implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
- Github: https://github.com/ReactiveX/RxAndroid
RxKotlin
- implementation 'io.reactivex:rxkotlin:2.4.0'
- Github: https://github.com/ReactiveX/RxKotlin
- Kotlin: Kotlin Chinese documentation
UI
MaterialEditText
- implementation 'com.rengwuxian.materialedittext:library:2.1.4'
- GitHub: https://github.com/rengwuxian/MaterialEditText
Android View Animations (various animations)
- implementation 'com.android.support:support-compat:25.1.1'
- implementation 'com.daimajia.easing:library:2.0@aar'
- implementation 'com.daimajia.androidanimations:library:2.2@aar'
- GitHub: https://github.com/daimajia/AndroidViewAnimations
hellocharts-android (chart)
- implementation 'com.github.lecho:hellocharts-android:v1.5.8'
- GitHub: https://github.com/lecho/hellocharts-android
BottomBar (bottom navigation bar)
- implementation 'com.roughike:bottom-bar:2.3.1'
- GitHub: https://github.com/roughike/BottomBar
BottomNavigationViewEx
- implementation 'com.github.ittianyu:BottomNavigationViewEx:1.2.4''
- GitHub: https://github.com/ittianyu/BottomNavigationViewEx
Banner (picture carousel control)
- implementation 'com.youth.banner:banner:1.4.10'
- GitHub: https://github.com/youth5201314/banner
Dachshund-Tab-Layout
- implementation 'com.github.Andy671:Dachshund-Tab-Layout:v0.3.3'
- GitHub: https://github.com/Andy671/Dachshund-Tab-Layout
Android PagerSlidingTabStrip (Sliding Navigation Bar)
- implementation 'com.astuetz:pagerslidingtabstrip:1.0.1'
- GitHub: https://github.com/astuetz/PagerSlidingTabStrip
EasyRecyclerView
- implementation 'com.jude:easyrecyclerview:4.4.2'
- GitHub: https://github.com/Jude95/EasyRecyclerView
BaseRecyclerViewAdapterHelper
- implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
- GitHub: https://github.com/CymChad/BaseRecyclerViewAdapterHelper
vlayout (LayoutManager extension of RecyclerView-Alibaba)
- implementation ('com.alibaba.android:vlayout:1.2.8@aar') {transitive = true}
- GitHub: https://github.com/alibaba/vlayout
RichText (rich text parser)
- implementation 'com.zzhoujay.richtext:richtext:3.0.8'
- GitHub: https://github.com/zzhoujay/RichText
ViewPagerIndicator
- implementation 'com.shizhefei:ViewPagerIndicator:1.1.9'
- GitHub: https://github.com/LuckyJayce/ViewPagerIndicator
EasyIndicator
- implementation 'com.github.LuckSiege:EasyIndicator:v1.1.3'
- GitHub: https://github.com/LuckSiege/EasyIndicator
ImagePicker (image picker, author of okgo)
- implementation 'com.lzy.widget:imagepicker:0.6.1'
- GitHub: https://github.com/jeasonlzy/ImagePicker
PictureSelector
- implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.3.9'
- GitHub: https://github.com/LuckSiege/PictureSelector
Matisse (Zhihu)
- implementation 'com.zhihu.android:matisse:0.5.3-beta3'
- GitHub: https://github.com/zhihu/Matisse
PhotoView
- implementation 'com.github.chrisbanes:PhotoView:2.3.0'
- GitHub: https://github.com/chrisbanes/PhotoView
Android-SpinKit (Android loading animations)
- implementation 'com.github.ybq:Android-SpinKit:1.4.0'
- GitHub: https://github.com/ybq/Android-SpinKit
- Official website: http://ybq.github.io/Android-SpinKit/
Toasty
- implementation 'com.github.GrenderG:Toasty:1.4.2'
- GitHub: https://github.com/GrenderG/Toasty
DialogPlus (Dialog in various styles)
- implementation 'com.orhanobut:dialogplus:1.11@aar'
- GitHub: https://github.com/orhanobut/dialogplus
MaterialDateTimePicker
- implementation 'com.wdullaer:materialdatetimepicker:4.2.3'
- GitHub: https://github.com/wdullaer/MaterialDateTimePicker
FloatingActionButton
- implementation 'com.github.clans:fab:1.6.4'
- GitHub: https://github.com/Clans/FloatingActionButton
CityPicker
- implementation 'liji.library.dev:citypickerview:5.1.0'
- GitHub: https://github.com/crazyandcoder/citypicker
VerticalTabLayout
- implementation 'q.rorbin:VerticalTabLayout:1.2.5'
- GitHub: https://github.com/qstumn/VerticalTabLayout
SmartRefreshLayout (pull-down refresh frame)
- implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-21'
- GitHub: https://github.com/scwang90/SmartRefreshLayout
AgentWeb (WebView framework)
- api 'com.just.agentweb:agentweb:4.1.2'
- GitHub: https://github.com/Justson/AgentWeb
FragmentRigger (Fragment management framework)
- Access guide: https://github.com/JingYeoh/FragmentRigger/wiki/%E9%A6%96%E9%A1%B5
- GitHub: https://github.com/JingYeoh/FragmentRigger
GSYVideoPlayer (video player)
- implementation 'com.shuyu:GSYVideoPlayer:7.1.6'
- GitHub: https://github.com/CarGuo/GSYVideoPlayer
SwipeBackLayout (slide back)
- implementation 'me.imid.swipebacklayout.lib:library:1.1.0'
- GitHub: https://github.com/ikew0ng/SwipeBackLayout
BGASwipeBackLayout-Android
- implementation 'cn.bingoogolapple:bga-swipebacklayout:latestVersion@aar'
- GitHub: https://github.com/bingoogolapple/BGASwipeBackLayout-Android
recyclerview-animators (recyclerview animation)
- implementation 'jp.wasabeef:recyclerview-animators:3.0.0'
- GitHub: https://github.com/wasabeef/recyclerview-animators
XPopup (various pop-ups)
- implementation 'com.lxj:xpopup:2.1.4'
- GitHub: https://github.com/li-xiaojun/XPopup
FlowLayout (flow layout)
- implementation 'com.hyman:flowlayout-lib:1.1.2'
- GitHub: https://github.com/hongyangAndroid/FlowLayout
Switcher(switch button)
- implementation 'com.bitvale:switcher:1.1.0'
- GitHub: https://github.com/bitvale/Switcher
EasyFloat (floating window frame)
- implementation 'com.github.princekin-f:EasyFloat:1.3.4'
- GitHub: https://github.com/princekin-f/EasyFloat
GuideView (novice guide library)
- implementation 'com.binioter:guideview:1.0.0'
- GitHub: https://github.com/binIoter/GuideView
StatusBarUtil (status bar tool class)
- implementation 'com.jaeger.statusbarutil:library:1.5.1'
- GitHub: https://github.com/laobie/StatusBarUtil
ImmersionBar (status bar tool class)
- implementation 'com.gyf.immersionbar:immersionbar:3.0.0'
- GitHub: https://github.com/gyf-dev/ImmersionBar
3. Various useful plug-ins
Installation method
Some plug-ins may not be found, click Search in repositories directly.
Click install to start the installation. After the installation is successful, you will be prompted to restart as. Just restart.
GsonFormat
- Quickly convert json string into a Java Bean
- Shortcut key Alt+S
Android ButterKnife Zelezny
- Use ButterKnife to quickly generate annotations
- Place the cursor on the layout file ID (such as R.layut.activity_main), Ctrl+Shift+B
Android Methods Count
- You can view the number of methods in dependent libraries
Lifecycle Sorter
- Sort the life cycle methods of Activity or fragment
- Ctrl + alt + K
JsonOnlineViewer
- Request the interface directly in as to facilitate debugging
genymotion
- Super fast and easy to use android emulator
LeakCanary
- Detect memory leaks
- github: https://github.com/square/leakcanary
Dart
Flutter
- Flutter development plug-in
Json To Kotlin Class
- json to kotlin bean object
Android Drawable Preview
- Can preview resource files under drawable and mipmap
4. Various commonly used websites
AndroidDevTools (download of various android related tools)
- http://www.androiddevtools.cn/index.html
Online Documentation-JDK
- http://tool.oschina.net/apidocs/apidoc?api=jdk_7u4
Online Documentation-Android
- https://developer.android.google.cn/develop/index.html
Online documentation-Kotlin
- https://github.com/wangjiegulu/kotlin-for-android-developers-zh/blob/master/SUMMARY.md
Online documentation-Glide
- https://muyangmin.github.io/glide-docs-cn/
Online documentation-Flutter
- https://flutterchina.club/widgets-intro/
Material Design (reference documentation)
- https://materialdoc.cn/components/autocomplete/
GitHub
Font Awesome Icons
- http://fontawesome.io/icons/
Json online parsing
API document management
stackoverflow (IT technical question and answer website)
- https://stackoverflow.com/
CSDN is the world's largest Chinese IT community
Simple book
play android
- https://www.wanandroid.com/
HenCoder
Android Development Technology Weekly
ProcessOn free online drawing, real-time collaboration
- https://www.processon.com/
Alibaba Vector Icon Library
Various online documents and tools (Open Source China Community)
Mob open platform (weather, text messages, sharing, etc.)
Aggregated data (various open APIs)
Rongyun (instant messaging)
NetEase Cloud Letter (instant messaging)
Ant Financial Open Platform (Alipay)
- https://doc.open.alipay.com/
Alibaba mobile hot fix
- https://help.aliyun.com/product/51340.html
Alibaba mobile push
- https://www.aliyun.com/product/cps
Tencent Open Platform
- http://wiki.open.qq.com/wiki/Homepage
WeChat open platform
- https://open.weixin.qq.com/
Tencent pigeon push
- https://xg.qq.com/docs/android_access/jcenter.html
Tencent Bugly
Tencent map
Baidu map
w3school(HTML)
- http://www.w3school.com.cn/tags/index.asp
Bootstrap* components
- http://v3.bootcss.com/components/
Umeng (push statistics)
360 reinforced warranty
Legu
CSDN: https://blog.csdn.net/yechaoa/article/details/72870470
Continuous updates. . .
License
Copyright 2017 yechaoa
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.