Android開發實用必備的幾款外掛,提高你的開發速度
歡迎大家告訴我更加好用的外掛,工具和第三方開源庫
寫程式碼酷炫 plugins下載activate-power-mode 一些設定 Window-->activate-power-mode
設定開發工具的背景 plugins下載 SexyEditor
便於開發的外掛、工具和第三方開源庫
1.GsonFormat 使用方法:快捷鍵Alt+S也可以使用Alt+Insert選擇GsonFormat,作用:速將json字串轉換成一個Java Bean,免去我們根據json字串手寫對應Java Bean的過程。
2.ButterKnife Zelezny 又叫黃油刀 使用方法:Ctrl+Shift+B 作用:快速的繫結資源的id。和findViewbuId說再見。
3.Parcelable code generator 使用方法 alt+insert 選擇Parcelable 作用 :JavaBean序列化,快速實現Parcelable介面。
4.Lifecycle Sorter 使用方法 :快捷鍵Ctrl + alt + K 作用:可以根據Activity或者fragment的生命週期對其生命週期方法位置進行先後排序
5.findBugs-IDEA 使用方法:左下角會出現findbugs的圖示 ,查詢bug的外掛
6.JsonOnlineViewer 使用方法:點選下面的 view 檢視功能中的 JsonOnlineViewer 作用:進行 get 或 post 介面的檢測
7.LeakCanary 使用方法: 在主專案main模組的build.gradle檔案中新增LeakCanary相關依賴 作用:在Debug版本中監控
Activity、Fragment等的記憶體洩露(也使用android Studio中AndroidMonitor自帶的一個工具—>memory,這個工具也可以說是非常的好用,先簡單的介紹一下,memory雖然不可以分析出哪部分存在洩漏等情況,但可以很直觀的看到記憶體的佔用情況,看到記憶體的動態變化)
8.bugly 使用方法:去騰訊申請,然後在工程中整合 作用及簡介:異常上報,應用升級&熱更新。
第三方開源庫
● okhttp3 網路請求型別
專案地址:https://github.com/open-android/OkHttp3Utils
● SmartRefreshLayout 下拉重新整理 上拉載入 有很多樣式動畫
專案地址:https://github.com/scwang90/SmartRefreshLayout
● statusbarutil 沉浸式狀態列
專案地址:https://github.com/laobie/StatusBarUtil
● easypermissions 動態許可權申請
專案地址:https://github.com/googlesamples/easypermissions
● ninegridview 九宮格控制元件
專案地址:https://github.com/jeasonlzy/NineGridView
● calendarview 精美日曆
專案地址:https://github.com/huanghaibin-dev/CalendarView
● SwipeDelMenuLayout 左滑刪除效果
專案地址:https://github.com/mcxtzhang/SwipeDelMenuLayout/blob/master/README-cn.md
● FlycoTabLayout_Lib 炫酷方便簡潔的Tablayout
專案地址:https://github.com/H07000223/FlycoTabLayout
● PictureSelector 非常方便實用的圖片選擇器
專案地址:https://github.com/LuckSiege/PictureSelector
● IdentityImageView 一個頭像圓角帶進度條的圖片框架,同時有身份標識動能,簡單易用
專案地址:https://github.com/385841539/IdentityImageView
原文釋出時間為:2018-11-25
本文來自雲棲社群合作伙伴“ofollow,noindex">Android開發中文站 ”,瞭解相關資訊可以關注“ Android開發中文站 ”。