Android instant messaging series article MapStruct: a sharp tool for mutual conversion between different data models under layered architecture

The wechat technology account of "Wei Feng Chen" has been opened. In order to get the first-hand push of technical articles, you are welcome to search and pay attention! At the beginning of the article, let's answer the questions left in the previous article, namely: Why design multiple entities? The layered architecture based on t ...

Posted by aprieto on Sat, 29 Jan 2022 10:11:52 +0100

Introduction to Android Studio: develop the first Android program and detailed explanation of project files

Android Studio download and environment construction link: Introduction to Android Studio: overview of Android system architecture and construction of development environment Create and run the first HelloWorld program 1, Create Android project 1. Open Android Studio and create a new project 2. Configure new project 3. Set application Run ...

Posted by Tucker1337 on Fri, 28 Jan 2022 19:42:24 +0100

Intercept the application error log and send it to the nail group | Java development practice

Opening Now all applications need to monitor or alarm the log. Now the common practice is to collect the log by EKL, and then display the content and alarm strategy by Grafana. If the project architecture is relatively simple (single application) and you don't want to rely on so many middleware, here is a simple way to do it~ Inherit Unsynchr ...

Posted by JasperBosch on Fri, 28 Jan 2022 18:36:00 +0100

Excel report imitating wechat developed by fluent project

Flutter imitates wechat excel function preface In project development, report is a very common function, which is helpful for users to see the trend and law of data at a glance. It is very suitable for viewing and comparing a large number and a wide variety of data. Although Flutter provides Table, DataTable and other related components, in t ...

Posted by davidlenehan on Fri, 28 Jan 2022 14:11:43 +0100

Space analysis required for APK installation of Android PM mechanism series

preface In the first three parts of the PM mechanism series, we focused on the whole process of installation, without many details. In this article, we will be specific to many details. This article focuses on one problem: How much space is needed to install APK? The error install will not be reported_ FAILED_ INSUFFICIENT_ STORAGE? It can im ...

Posted by JeanieTallis on Fri, 28 Jan 2022 11:55:47 +0100

Android preloads View

Why preload the View? Improve the startup speed of Activity and avoid parsing xml files every time. My idea is to preload and cache the layout of setContentView for each Activity. The next time you open the Activity again, you can reuse the previously loaded. Then there is a problem. We all know that each View will hold a reference to a Conte ...

Posted by likethegoddess on Fri, 28 Jan 2022 10:27:55 +0100

Introduction to Android Studio: detailed explanation of Android application interface (middle) (detailed explanation of Android controls, AdapterView and its subclasses)

Introduction to Android Studio: detailed explanation of Android application interface (I) (View, layout manager) Detailed explanation of Android controls After learning the layout of Android, to design the UI interface, you also need to master the application of various controls. At the beginning, the design of an interface is to create a ...

Posted by Nikos7 on Fri, 28 Jan 2022 06:23:25 +0100

Learn android input system from simple to deep - input event collection (InputReader)

summary As mentioned earlier, the system process distributes events to the app process through InputDispatcher. Previous address: From simple to deep learning android input system (III) - InputChannel analysis So where did the InputDispatcher incident come from? How does android receive events from the hardware layer? This paper will ex ...

Posted by jarvishr on Fri, 28 Jan 2022 02:28:36 +0100

Activity, one of the four components of Android

Android Activity Life cycle: onCreate(): it is called when the activity is created for the first time, so it completes the initialization of the activity in the method, such as loading layout file, initializing View, event binding, etc. Will only be called once.onStart(): this method is called when the activity changes from invisible to vis ...

Posted by phatgreenbuds on Thu, 27 Jan 2022 21:56:51 +0100

Tencent T7 notes: past and present life of Android transition animation!

When upgrading the image viewer some time ago, there was no good transition mode when opening the image viewer. A big man recommended the latest Material Motion animation for Android to me. Although it was not arranged for our App in the end, it provided me with an opportunity to learn Material Motion animation. Recommended learning materials ...

Posted by thegman on Thu, 27 Jan 2022 16:11:24 +0100