Best Practices Guide for Google's official application architecture
While Android's architecture choices are always free, MVP, MVC, and MVVM have a lot of fans. But Google has recently launched a practical Guide to application architectures and has given quite detailed steps and some guidance. I hope everyone can take a look, learn, create more excellent use of the APP, but also for the improvement of the Android ecosystem to make a contribution.
Talk about Facebook's open source Litho
Itho was originally designed to address the efficient rendering of complex lists and memory usage issues. I have also written related articles about efficient rendering of complex data streams in Android ListView, "efficient" rendering of Android complex data streams. The previous idea was to split the logical item in the list into reusable smaller units, and then use the ListView or Recyclerview's own caching strategy to achieve memory savings. Litho uses a more aggressive approach, giving up the use of native view, using custom view and layouts, saving memory usage with very high view multiplexing rates, and adopting a highly efficient layout strategy that makes drawing faster and smoother.
Analysis and application of WebView cache principle
Today's app development, more or less will use the hybrid mode, to the WebView side, Often load some JS files (for example, and WebView used to native communication bridge.js), and these JS files will not change frequently, so we hope that JS in the WebView after loading once, if JS does not change, the next time you do not have to launch a network request to load, thereby reducing traffic and resources The occupation. So what is the way to achieve this? Start with the WebView caching principle.
Open Source Libraries & apps
Htmlnative
Use Html/css-to-render Android View (not Webview)
Exoplayerfilter
This library uses OpenGL Shaders to apply effects on Exoplayer video at Runtime
Dividerdrawable
Help-to-layout and draw dividers on existing views
Badge
A series of badge drawables for Android
Rotatingtext
A Periodic text Updating library
Slimadapter
A Slim & clean & typeable Adapter without# viewholder
Tools
Seal
A Gradle Plugin for prechecking androidmanifest.xml.
Gradle-profiler
A tool for gathering profiling and benchmarking information for Gradle builds
Gradle-android-publisher
Gradle plugin to publish APKs to Google Play
Online Compiler (Beta) (by Green frog)
is a test of the Android platform IDE tool, can be code editing, compiling and running programs, support C, Ruby, Swift, PHP, NodeJS, Python, including 23 languages. Web version: Https://compiler.run
Svg-optimizer
SVG File Optimization Tool
Hackmd
Realtime Collaborative Markdown notes on all platforms
Cloudconvert
Cloudconvert supports the conversion between more than $ different audio, video, document, ebook, archive, image, spread Sheet and presentation formats.
Iconflower
Arrange icons, images and shapes in Phyllotaxis (leaf arrangement) patterns. Leaf arrangement pattern in a sunflower, for example.
Launchpad for Sketch
Publish Websites from Sketch
Design
- Introduction to "component-based design methods"
Cool Job
Beijing Tomorrow Worm Hole Technology Co., Ltd. recruitment android engineer
Line Line 10 Haidian Huang Zhuang (zhongguancun building)/20k ~ 30k/Five Insurance One gold/supplemental medical/year-end two incomes/free lunch and dinner/resume sent to:[email protected] (remember in the "Android Development Technology Weekly" see)
Cool Job
Beijing Tomorrow Worm Hole Technology Co., Ltd. recruitment android engineer
Line Line 10 Haidian Huang Zhuang (zhongguancun building)/20k ~ 30k/Five Insurance One gold/supplemental medical/year-end two incomes/free lunch and dinner/resume sent to:[email protected] (remember in the "Android Development Technology Weekly" see)
Donation
If you think the Android Development Technology Weekly is helpful, please consider donating support for this weekly report. Support me to make the Android development technical weekly to do better, help more people, the amount of free, your donation will be used to pay for the server and mail push service costs. Donation List
Android Development Technology Weekly