There should have been this series long ago, mainly to update some recent information that you think everyone should know.
have to be aware of is:
This series will not gossip about things with relatively close time coefficients, even if the content is more popular.
This series focuses on the value attribute of the content, and I hope that any issue will have value at any time.
Entrance of the previous phase:
Android Information You May Miss | Issue 2
1. Leisurely reading
What are the new features of Android 1.5 -10.0?
2. Big factory sharing
1) Google official sharing
Flutter knowledge points you need to know | FAQ・third issue
2) Netease carefully selected
NetEase carefully selects technical experts to interpret the design and principle of ABTest
https://www.jianshu.com/p/4e7a271cd54a
3) Meituan
Talking about Meituan APP's governance of Crash
https://www.jianshu.com/p/923a24755456
4) Youzan WeChat Mall
Youzan WeChat Store-Android componentization solution
https://tech.youzan.com/you-zan-yi-dong-androidzu-jian-hua-fang-an/
History sharing:
Baidu APP technology: Android H5 first screen optimization practice
Sohu: Deep understanding of Flutter multithreading
Ctrip: Looking at the practice of componentized architecture from the Zhixing Android project
3. Large companies open source to the outside world
1) Tencent matrix
Matrix is an application performance access framework developed and used daily by the WeChat team. Matrix collects and analyzes abnormal data of performance monitoring items by connecting various performance monitoring solutions, and outputs corresponding problem analysis, positioning and optimization suggestions, so as to help developers develop higher-quality applications.
https://github.com/Tencent/matrix
Last week, I also posted a source code analysis of Caton Analysis:
Trace Canary, a WeChat self-developed APM tool, Matrix Caton analysis tool
2) Didi booster
Booster is a simple, easy-to-use, lightweight, powerful and extensible quality optimization toolkit specially designed for mobile applications. It provides scalable capabilities through dynamic discovery and loading mechanisms. In other words, Booster is also a quality optimization tool for mobile applications. frame.
https://github.com/didi/booster
4. Other high-quality and interesting projects
1) Regular matching of mobile phone number
This demand exists in the common group.
https://github.com/VincentSit/ChinaMobilePhoneNumberRegex
A set of regular expressions matching mobile phone numbers.
2)HelloGithub
An interesting, entry-level open source project to share on GitHub. Let you find the fun of programming, welcome to recommend and self-recommended projects.
I paid attention to this library very early. I didn't expect it to be updated all the time. Now it has 37 issues, which can help you discover some interesting projects.
https://github.com/521xueweihan/HelloGitHub
3)RxJava2-Operators-Sample
Starting from the article "You are not used to RxJava, just because you lack this key", the insights "Use SQL as a metaphor for RxJava operators" are well written, but the content is still very small. I hope the author will update more This series of articles.
https://github.com/KunMinX/RxJava2-Operators-Sample
Why not do the most boring thing in history-like a designer to cut every pixel to the extreme, like an engineer, apply engineering design patterns and principles to the writing of every function, and fight boredom in a boring way- — This is an operator practice tool for Android developers born for boring.
4) gitignore
There is also an as plugin for .gitigore in various languages, which is more convenient.
https://github.com/github/gitignore
5. Play Android TODO applet online & open source version
This project is a very concise and easy-to-use list management applet developed based on Todo Api on the Android website, which is used to record ideas and manage to-do items.
Scan code to use
https://github.com/kangdongpu/MiniTodo
TODO API is completely https, so it is very convenient to use it as a small program.
Development API address:
https://www.wanandroid.com/blog/show/2442
6. Visual algorithm learning
Algorithms have always been boring. I did not expect that there is still such a website that can visually run and learn various algorithms.
https://github.com/algorithm-visualizer/algorithm-visualizer
The following figure shows Java running the bubble sorting algorithm. During the running process, the whole process is illustrated and the log is printed. It should be noted that most algorithms are implemented in javascript. Java has a small part. The algorithm can also be learned across languages. .
https://algorithm-visualizer.org/brute-force/bubble-sort
7. Tips
1) Android Studio breakpoint directly hit Log.
When we find a bug, as long as there is a debug package, we can directly atatch debug. However, some codes that are executed frequently may not be suitable for breakpoint blocking, and logs need to be added.
Routinely add the log, and then it may take a few minutes or even longer to package, and finally delete the debug log.
Part of the third-party jar, aar inside and outside can not manually add log code.
In fact, the breakpoint not only has the blocking function, but also can directly print log without blocking.
On the breakpoint, right click appears:
Then remove Suspend and the advanced panel will appear:
In the place of Evaluate and log, you can fill in various object execution methods of the current breakpoint context, etc. Here i is printed.
Finally, note that the printed Log is on the Debug Console panel, not our usual Logcat panel. If you haven't used it before, please try!
I will try my best to add a little trick every issue. I hope you can practice it while reading the article. The little tricks are very simple, but they are all very practical!
This series contains the sharing of many big companies. Although most of them are very difficult, we still hope that everyone can escape from their comfort zone. The difficult things are really resistant, but these contents contain more to distinguish from others. Different knowledge points.
Don't enjoy encountering a problem anymore. Baidu can read the answer and memorize it, or take a sip of chicken soup and stay in this "as if you have learned" mentality.
If you think this series is good, you can click on it in the lower right corner to understand its popularity.
See you next time!
Recommended reading:
Android 9 official ultimate optimization PrecomputedText
Android Q (10) adaptation guide to save you a bunch of detours
I’m sharing Android in a group, it seems that no one talks anymore... Issue 2