Adaptation of Android 10 and Android 11

backgroundRecently, when I started to adapt Android 10 and Android 11 in the project, I encountered many pits. Previously, there were adaptations specially written for qq and wechat sharing. However, some new problems have been encountered during the adaptation work on the service side. Write it down for future reference. I hope it can help rel ...

Posted by saltious on Mon, 20 Dec 2021 07:38:59 +0100

Interviewer: what performance optimizations have you done?

1. Have you studied the startup of APP? Have you done any startup optimization?programmer:The startup principle of Application has been studied before hot repair. Some startup optimization has also been done in the project.interviewer: Oh, did you study overheating repair before? (at this time, you may ask about the principle of hot repair in d ...

Posted by onno182 on Sun, 19 Dec 2021 23:18:14 +0100

Where can I find 10 million pieces of data for pressure measurement?

Hello, I'm Kaiyuan Jun. What I share with you today is * * [random data generator]** Project introduction This is an easy-to-use random data generator. It is generally used for data filling, simulation, simulation research, demonstration and other scenarios in the development and test stages. Can be integrated into various types of jav ...

Posted by ravi181229 on Sun, 19 Dec 2021 14:19:25 +0100

kotlin_ Synergetic process_ concept

Reprinted from: https://www.jianshu.com/p/b8a3a42eea4c kotlin coprocess concept 1, Kotlin synergy concept Kotlin coroutine provides a new way to deal with concurrency. You can use it on Android platform to simplify asynchronous code execution. Coprocessing was introduced from kotlin version 1.3, but this concept existed at the dawn of the ...

Posted by thread_PHP on Sun, 19 Dec 2021 11:09:48 +0100

Android developers reread design mode: write an upload decoupling library to practice

Last week, I finally finished reading the beauty of design patterns. I always wanted to write something to practice. It happened that I wanted to reconstruct the company's upload library recently, so I had this article. (it's just for learning and practicing. If you have any suggestions, the architecture boss can spray it gently) 0x1. Miscella ...

Posted by csatucd on Sun, 19 Dec 2021 04:25:17 +0100

Android_ network technique

Android Using HttpURLConnection First, get an example of using HttpURLConnection: new puts out a Url object and enters the network address of the target, then calls url.. Openconnection() method is enough URL url=new URL("http://www.baidu.com"); HttpURLConnection connection=(HttpURLConnection) url.openConnection(); After obtainin ...

Posted by dp777 on Sat, 18 Dec 2021 12:19:27 +0100

Actual combat - black screen problem before Android starts up and enters Launcher

Problem introduction During the development of the new platform, the test students always complained that the screen would flash black for about 2-3s before entering the Launcher, which would affect the user experience. At first, I didn't pay special attention. I thought there were too many things loaded during the start of Activity, resulting ...

Posted by VnVision on Sat, 18 Dec 2021 10:38:05 +0100

Principle and use of fluent Key what happens without a Key

In fluent, almost every widget has a Key, but we usually don't pass the Key when we use it. So what is the Key used for? Almost every widget has it, but we rarely use it When on earth will it be needed? Next, let's see what happens when you don't use a key when you need a key Let's start with a common example: Column( children: [ Conta ...

Posted by DeepakJ on Sat, 18 Dec 2021 04:43:01 +0100

Android GreenDao gives a comprehensive explanation on the use of Android GreenDao, and provides internal information of large manufacturers

github address of GreenDaoGreen Dao's Google discussion areaGreenDao encrypted SQLCipher for Android official description addressDocuments used by GreenDao The role of GreenDao? Through GreenDao, we can operate the database more quickly. We can use a simple face object API to store, update, delete and query Java objects. Advantages and disad ...

Posted by Rumour on Fri, 17 Dec 2021 23:56:08 +0100

The widget in fluent has been interviewed by 11 companies such as Tencent, station B and Netease in two months

} ///Called when the State object is permanently removed from the tree; Resources are usually released in this callback @override void dispose() { super.dispose(); debugPrint('child dispose...'); } } The output of the execution is displayed as: - Run to display ```java I/flutter (22218): parent initState...... I/flutter (22218): parent did ...

Posted by moltenice on Fri, 17 Dec 2021 18:38:14 +0100