Over the past few years, the way to turn Android applications into logical components has matured. To a large extent, it has moved away from MVC mode to a more modular and testable mode.
Model View Presenter (MVP) & Model View View Model (MVVM) are the two most widely used alternatives. This article does not discuss which appro ...
Posted by psychosquirrel on Sun, 19 May 2019 11:56:19 +0200
I remember in my last company, a big man made a monitoring system, bullying, really want to study how he did it. Of course, we are not people who pat their heads to work. We can't do what others do. Now let's introduce the benefits of such a platform.
First, why do we do the front-end system? Looking at t ...
Posted by pea_1 on Sun, 19 May 2019 08:56:03 +0200
_When developing android programs, we often encounter the effect of overlaying controls or view s, as shown in the red circle section below:
_Other similar effects are not shown, in general this case, we can use Framelayout to handle it, the code is as follows:
<?xml version="1.0" encoding="utf-8"?>
Posted by sherry on Sun, 19 May 2019 08:36:45 +0200
Android Design Patterns Series: Welcome your attention and keep updating:
Separating the construction of a complex object from its representation enables the same construction process to create different representations.
The builder model belongs to the creation model.
Builder mode is mainly used t ...
I. activity-alias Tags
Android supports dynamic modification of application icons and application names. Apps such as Taobao and Jingdong automatically change icons without updating when they are double 11 and double 12, so the best application scenario for dynamically updating the icons and names of applications is just like that used in pro ...
Posted by biba028 on Sun, 19 May 2019 04:19:28 +0200
For MO Call, it is usually an active action initiated by the user himself, and the process can be tracked according to the button on the UI. However, for MTcall, it is generally passive to receive modem messages, and it is not very easy to track the process from the UI level, so the MT process is roughly summarized.
First, che ...
Posted by balkar on Sun, 19 May 2019 02:39:04 +0200
Analysis of DroidPlugin Principle
From the point of system design, the logical entity of components and windows exists in system services, such as Activity, whose logical control body is in AMS. For windows, the logical control body is in WMS.
android places the logical principal in the system service, so that the system can h ...
Posted by Weirdan on Sat, 18 May 2019 23:44:23 +0200
Original address: https://www.jianshu.com/p/9eb57a8ff5e5
The Android software disk pop-up may obscure some controls on the interface.EditText is generally not blocked when windowSoftInputMode is adjustPan, but if there is a login button below EditText, it may be blocked, but sometimes we want users to click the login button directly after th ...
Posted by migmedia on Sat, 18 May 2019 17:50:10 +0200
Recently, new work has been added. Android products use RX+retrofit as the framework of network interaction, which has never been used before, and only make up for it by themselves. Here I share with you the results of my study, which is also convenient for me to review in the future. There are many similar articles, and the encaps ...
Posted by markjia on Sat, 18 May 2019 14:09:08 +0200