android video development interview! Tencent’s 3 rounds of interviews all asked about Android event distribution, a summary of interview questions from Dachang

beginning

In Android development, I believe you need not say more about the importance of third-party libraries, especially the third-party library source code is the most important, and the EventBus source code is one of the key points.

EventBus is a very popular third-party library in Android (also available in Java) development. It is a bus for publish/subscribe events.

Presumably every Android developer who enters the door has some knowledge of EventBus. EventBus is an Android event publish/subscribe framework that simplifies the delivery of Android events by decoupling publishers and subscribers. EventBus is simple to use and fully decouples event publishing and subscription, which makes the code more concise. It has always been very popular among developers. Up to now, EventBus has been installed more than 100 million times. It is enough to see how good EventBus is.

So how can we learn and use EventBus better? In fact, there are already many excellent EventBus source code analysis articles on the Internet, but they are not comprehensive and not complete. Today I have the honor to share with you the source notes of the tripartite library compiled by the Google God. Detailed EventBus source code

Recommend two rewriting websites:

Cattle off network
LeetCode

Recommend a few books on Android advanced:
"Advanced Android Development from a Small Worker to an Expert" by He Honghui
"Exploration of Android Development Art" by Ren Yugang
"Crazy Android Lectures" by Li Gang

Technology category

1. The principle of Java class loading
2. The cause and solution of interface stuck
3. How to avoid memory leaks when customizing Handler, how to troubleshoot memory leaks, MAT analysis methods and principles, what are the causes of various leaks
4. App What is the architecture, and why, what are the advantages and disadvantages?
5. What status does TCP have. Shake hands three times and wave four times. Why is it three times, not twice? The difference between HTTPS and HTTP. HTTPS 2.0, 3.0?
6. The use and principle of open source framework. OkHttp internal implementation, glide internal principle, EventBus source code and RxJava use process precautions, etc.
7. What is the life cycle of Activity, do you know onRestart, introduce
8. Optimistic locking and pessimistic locking, deadlock, synchronized principle
9. JVM Class loading mechanism, garbage collection algorithm comparison, Java virtual machine structure, etc.
10. Is there any tool to see Activity stack information? For multiple stacks, is there a way to get the Activity list of each stack separately?
11. Plug-in/hot fix

other

1. Introduce what work has been mainly done in the past year
. 2. What impressive problems have been encountered. Will follow the project you introduced to ask for specific implementation.
3. In the previous job, how many people are in the project team and how to distribute the work
are some career planning, or it can reflect your work attitude and some problems in dealing with people.

Do you have any questions you want to ask me

General interviewers will ask this question. Here are some questions for your reference
1. How did you spend your day at the company?
2. Can you give me a brief introduction to the future development of your company's business and strategy?
3. What is the corporate culture that your company is most proud of?
4. What are your expectations of me for joining this team in the future?
5. Through the interview and communication just now, what do you think I still have?

end

Based on salary treatment, with development as the ultimate goal, we must seek the best development in places with high salaries!

Below are some advanced information compiled by several Android industry leaders corresponding to the technical points above. There are ** Android architecture video + BATJ interview topic PDF + core notes and other materials . Hope to help you improve your technology. If you want to get it, you can privately message me [666] to get it for free**

I【666】Get it for free**

[External link image is being transferred...(img-XDvWRrSW-1611476362576)]

Guess you like

Origin blog.csdn.net/Sunbuyi/article/details/113092385