** Mr. Ma: ** Mr. Wang, I saw that the background bugly collected OOM problems and nopointerexceptions are much less, how did you do it?

** Programmer Lao Wang: ** Manager Ma, after you criticized the instability of our App last time, our team thought over the pain and adjusted the entire App architecture for a month, completely modifying the architecture of our App.

** Ma general: ** stem of good ah! Pressure is what keeps you motivated. Tell me how you did it.

** Programmer Lao Wang: ** In the past, our architecture used MVC and the code framework built by SDK that we are familiar with. We found that there were endless bugs in the code, especially many of the occasional problems that we could not begin with, which were all caused by the loose architecture. Therefore, our team learned Jetpack, used Jetpack to reconstruct our project, and made it the architecture mode of MVVM, making full use of the automatic life cycle management mechanism of Jectpack. Reduced a lot of memory usage, while avoiding a lot of occasional NoPointerExcepiton that can’t find the cause of the problem.

** Ma total: ** vile vile! This month’s salary increases by 50 per person!

Programmer Wang:…


In the development world, it’s always about technology, and a new technology comes along for a reason, whether it’s better performance than an old framework, easier to use, etc. As a developer, you have to constantly learn and experiment with new technologies.

They don’t take the initiative to learn new technologies, while lamenting the slow salary promotion of programmers and having no way to go when they are 35 years old. Sorry, programmers get paid not because of age, nowhere to go and not because of age, but because of lack of progress.

When a competent netease employee was dismissed due to illness, the whole country stood up for him.

But, the employee that Tencent is dismissed recently, innocent absenteeism absenteeism, working time is less than eight hours a day, true injustice?

How does Google’s Jetpack fit into the workplace?

Is it a huge productivity boost or a pitfall?

In fact, many mobile developers have never heard of it.

For the product, we will encounter a lot of problems in the development, such as: product interaction, user experience, code structure, data acquisition, data storage, network optimization, task scheduling and so on, many problems have not been well solved and optimized solutions, how to solve these problems?

I have experienced MVC, MVP, MVVM, Clean and so on. Due to the different characteristics and requirements of each project, there will be a set of architectural patterns designed by developers, which are layered, componentized and modular. Each design is based on the scene of the project, and it is difficult to fit all project scenarios.

Version of the APP itself in rapid development, iteration, constantly increasing new features, increasing number of business module, business processing logic becomes more and more complex, each module code is also becoming more and more at the same time, this will cause a problem, the code maintenance cost is higher and higher, a slightly changes may be extremely important, Changing a small function point would require a regression to the entire APP testing, which would be a great challenge for development and maintenance.

Amateurs watch the crowd, amateurs watch the door.

How do we build apps gracefully?

Modularization, hierarchy, control, componentization how to apply to practice?

Artifactory helps a lot in modularization and componentization;

Jetpack reduces OOM and No Pointer Exceptions;

Mvvm can meet the changing requirements.

Maybe you’ve seen individual technology points, but how do we combine Artifactory, the latest Jetpack and Mvvm?

In addition, how to optimize the performance of app startup speed while building app architecture?

A case study of an App based on MVVM+Jetpack component by teaOf

Here I share my Android learning notes, which have a detailed explanation of Jetpack. I hope it can help you improve your learning and save you time searching for information on the Internet, so you can share it with your friends

If you need it, you can click like + comment, follow me, add Vx: 15388039515 (note: Nuggets, Jetpack)

Android learning PDF+ architecture video + interview document + source notes