Toggle navigation
codeKK
OP Analysis
Open Project
Developer Tools App
Feature Introduction
Show Seconds
Turn on "Developer Options"
Turn on/off "Accessibility Service"
FAQ and Solutions
New Second App
Feature Introduction
FAQ and Solutions
Allow App run in background
Close XiaoMi System Optimization
Format
JSON Format/Compress
CSS Compress/Format
URL Order
Encode/Decode
MD5
SHA1
SHA3
SHA256
SHA512
Unicode Encode/Decode
Text Process
Multiline Text Process
Text Space
Text Count
About
Login with GitHub
全部
Android
iOS
服务端
前端
存储
大数据
通用
其他
Android 实用技巧之:用好泛型,少写代码
推荐人:
north2016
Android 开发中,总会遇到大量的繁杂模版代码,重复无味的样板方法,冗长杂余的套路写法,占据了大量的开发时间,并且容易手误出错,极大地降低了编程效率和代码的优雅。
现在,我们通过几个小例子,讲解在 TMVP 中,如何通过泛型解耦和精简代码,达到高度封装简洁优雅的效果。
Apps
Android Developer Tools
Android Developer Tools Pro
About Me
Tools:
TimeShining
GitHub:
Trinea
Facebook:
Dev Tools
JSON Format, Support error correction
MD5/SHA Encode, Support batch
Text Process
CSS Format and Compress