Android development programming! What is the difference between componentization and plug-inization? Universal popular framework

"For a programmer, if one day he stops learning, then his career will begin to die."

The high-paying IT industry is the career dream of many young people. However, once you enter it, you find that it is not as good as you imagined. Known as IT blue-collar programmers, the work intensity is high, like a coding "machine"; the technology is updated quickly, and the job is unstable. With age, where should Android programmers who have been working for 2-5 years go? It depends on your own vision, courage and opportunity!

Interview experience

1. I accidentally saw Zhihu's internal tweet and posted a resume. In the afternoon, my sister hr called me and arranged for the interview to be selected in 3 days. However, I had to test Ali again, so I didn't review it much.

  1. I got up at 8 o'clock and went to the Pioneer Park after 9 o'clock nervously. I feel that the atmosphere is very good. After waiting for a short time there, the uncle at the front desk will pour water for you.

one side:

He should be a research monk who has recently joined the work. He came up with an algorithm question. The main test is to convert characters to int, and then analyzed the time complexity and space complexity. After that, I talked about the performance optimization of android listView. I also asked me about the characteristics and process of recycalView. Communication methods, I mainly talked about aidl and shared files, broadcasting, originally wanted to use java to install B, and I am still proficient in java, but the brother did not ask, he said wait a moment

Two sides:

On the other hand, the difficulty is obviously increased, and the interview tube should be the group leader. I prefer to listen to the structure. I just made a smart home project from the web backend, client, hardware, etc., and then I blow the logic on the hardware side. , Including bluetooth, wifi HTTP/IP protocol, transparent transmission, etc., infrared sensors, and then web background I said I use sevlet, because the client itself mainly needs an interface, the database uses mysql, and did not ask rollback (hehe), and then put The client showed it to him, it was too ugly without art (this is not the point), because a very important point in my project is to wake up the server when the hardware is triggered to push the background, first after the hardware is recognized, the serial port reads and writes data to The single-chip microcomputer writes the wifi buffer, the wifi transparently transmits data to my server through HTTP (TCP and IP can be used), the server obtains the mac logo, and pushes it to the TAG (family ID) or the user (Alias)
. Implementation principle.
1: pull mode, http long connection or socket, just set the polling interval, shortcomings are poor timeliness
2: push mode, good real-time performance, method 1, Google's own push platform (the network is too poor), method 2, xmpp Protocol (based on XML). In fact, the package is better. There is an open source package called asmark. Among them is the push library XmppConnection. Many companies use its own package library, but the open source demo only pushes, there is no delayed push, message temporary storage function, method 3. Using a three-way
algorithm: It is the problem of merging two ordered arrays. Using two pointers to solve the problem O(n) each time, the algorithm pass
LruCache: Install B first, and talk about what I wrote and the google V4 package. What is the difference, mainly because there is no trimToSize method and no sizeof() to calculate the memory consumption size. I mainly rewrite LinkedHashMap and talk about the source code of LinkHashMap. In fact, I also look at the source code analysis written by others. Learn)

At last

Students who want to know more about Dachang Interview can ** click here to get the "Interview Document" for free** In addition, I also share some free high-quality resources, including: Android learning PDF + architecture video + source code notes , advanced Architecture technology advanced mind map, Android development interview topic materials, advanced advanced architecture materials these pieces of content. Share with everyone, it is very suitable for friends who have interviews in the near future and want to continue to improve on the road of technology. Come and get learning materials~

Guess you like

Origin blog.csdn.net/a120464/article/details/114026051