Android development examples! Here is an advanced learning map of the ultra-full Android system, first collect it

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 am fortunate to share with you the source notes of the tripartite library compiled by Google God. Detailed EventBus source code

One side :

  • Self introduction
  • Introduce what projects I have done ps: here will ask some questions according to the project
  • Cross-thread communication mainly involves LooperMessageHandler and MessageQueue
  • Let me talk about the details of custom Views that need to be paid attention to. Mainly talk about the three major processes of View drawing onDraw() Don't do time-consuming operations Don't create new objects and how to deal with View's touch events
  • View event conflict resolution ps: rewrite dispatchEvent() or touch() method
  • Handwritten code: Give you an infinite number (represented by a string), calculate the number and add one to the result of the handwritten code on this website PS: the interviewer sends you a link, you write the code, the interviewer will see it synchronously

Two sides

  • Two ordered linked lists of handwritten code merge into one ordered linked list
  • What are the public methods in Object ps: clone();toString();wait();notify();getClass();finalize();equals();hashCode();
  • Talk about the optimization method of listView
  • Talk about the difference between RecycleView and listview
  • View drawing process

Ali

  • I asked about the general situation, such as when can I get an internship, and whether I can take the postgraduate entrance examination or not?
  • I will talk about the algorithm
  • Did not talk about the optimization of the project?
  • Activity start mode
  • Cross-thread communication
  • Boasting process communication is mainly Android AIDL
  • How to parse json data and xml

mushroom Street

  • Talk about what projects have been done
  • How to refresh the view in several steps of custom view ps: onLayout(); onMeasrue(); onDraw();
  • Optimization of RecycleView
  • The difference between several contexts
  • Have you seen any source code?
  • Talk about the binder class
  • In which thread Runnable runs ps: The only way to start a child thread is new Thread().start();
  • The difference between HashMap and HashTable
  • The difference between raw and assets folders
  • What happens to the thread that has not finished running after the activity is closed? ps: It will become an empty process thread, with the lowest priority and easy to be terminated and recycled
  • Merger rules for mainfest files

NetEase

Netease pushed back the written test, and went to Hangzhou for an interview after the written test. PS: The maximum reimbursement for round-trip fare reimbursement is 600 yuan. This may not be complete if you don’t remember it.

One side :

  • Self introduction
  • Cross-thread communication
  • I talked about how one of the projects was implemented and asked how to spell jsoup ==
  • Which open source libraries have been used to talk about his architecture
  • The role of four kinds of java references phantom references
  • What should I do if the image three-level cache memory is full? ps: After the priority queue is full, take the initiative to delete some pictures according to the priority and determine the priority according to the LRU algorithm
  • Talk about the JNI development process how java finds the c function ps: JNINativeMethod saves the function correspondence
  • What hobbies do you usually have == ps: snorkeling can dive for several days and then come up by yourself

Two sides :

  • Four start modes of activity
  • service life cycle
  • Tell me about my project
  • Why do you use JNI in the project?
  • What does the OAuth protocol do
  • I don't remember the others

hr noodles :

  • When can I come to the internship and how long
  • How to choose multiple offers
  • You have team development experience how to resolve internal conflicts
  • What do you think of hangzhou
  • Why choose NetEase
  • What products have used Netease PS: Have eaten Netease pork
  • Others forget it seems to have been talking for an hour

to sum up

There are many algorithm knowledge points, and the topics of enterprise investigation are ever-changing. In the face of the increasingly close "Golden Nine Silver Ten", I have prepared a set of relatively complete learning methods for everyone, hoping to help everyone as quickly as possible in the limited time. The evil complement algorithm of, through efficient learning to improve the pass rate of the algorithm module in the interview.

This set of learning materials has both text files and videos. It not only contains key knowledge points, but also explains the relevant parts of the algorithm of the case, which can help you learn better and more comprehensively. The combination of the two will have a better learning effect. better.

Part of the information display:




With this set of learning materials, if you stick to the questions for a week, you will find that your algorithmic knowledge system is obviously improved, and you are closer to the major offers.

How to get information: like + follow + forward, then enter my [GitHub] , there are free ways to get it

BA%9B%EF%BC%9F%E5%A6%82%E4%BD%95%E9%9D%A2%E8%AF%95%E6%8B%BF%E9%AB%98%E8%96% AA%EF%BC%81.md), there is a free way to obtain it**

Guess you like

Origin blog.csdn.net/m0_52308677/article/details/114194236