Android performance optimization – startup optimization improved by 60%

Application startup speed The startup speed of an application can affect the user’s first experience. An application with a slow startup speed (perceptually) may cause the user to decrease the intention to open the app again, or uninstall and abandon the application. This article will optimize the application startup speed from two directions: 1. Visual […]

Refactor Android asynchronous code using promises

Author: Wushan Old Demon Background Writing Android asynchronous tasks in business has always been a challenge. The previous callback and thread management methods were complex and cumbersome, making the code difficult to maintain and read. JavaScript actually faces the same problem in the front-end field, and Promise is one of its more mainstream solutions. Before […]

Compiled version problem androidx.appcompat:appcompat-resources reference error

According to the content of the error message, it can be seen that this error is caused by the androidx.appcompat:appcompat-resources version in your project’s dependent library being incompatible with your compileSdkVersion. The error message shows that the minimum compilation version (minCompileSdk) specified in the AAR metadata file of the dependent library androidx.appcompat:appcompat-resources is 33, and […]

Android Practice Manual-Will ViewBinding cause memory leaks?

Click to jump=>100 examples of Unity3D special effects Click to jump=>Case project actual source code Click to jump=>Game Script-Assisted Automation Click to jump=>Android Control Complete Manual Click to jump=>Scratch programming case Click to jump=>Full series of soft exams About the author Focus onAndroid/Unity and various game development skills, andVarious resource sharing (websites, tools, materials, source […]

Android system properties (SystemProperties)

1. System properties System properties are key-value pairs with special meanings in the system. We sometimes need to use system properties during the development process, such as getting the system software version, getting the device name, etc. Sometimes we also need to set custom properties. System properties are global and easy to access. 2. Get […]

Android Performance Optimization Series App Startup Optimization

The slow startup speed of applications is a problem we often encounter during the development process, such as black screen and white screen problems caused by slow startup. This blog will introduce the relevant knowledge of App startup optimization. How to launch the app Generally speaking, there are two starting methods: cold start and hot […]

Android Studio-implement list jump

1. Homework Objectives Based on the WeChat portal interface implemented in the previous job, when the list on the first interface is clicked, another interface will be entered and a text prompt will be given. 2. Design process 1. Appearance design Optimize the list of the first interface and add an imageview to item.xml; Remove […]

Android mobile development — page jump by clicking on RecyclerView content

1. Experimental objectives: Add a click function to each item of the recyclerView in the first experiment, and jump to a new view interface after clicking. 2.Technical description: 1. Tools used: Android studio 2. Version information: API 32 Android 12 3. Main technical content: recyclerview, adapter, activity, fragment 3. Design ideas: Change each line of […]

Restart your Android journey

When I took the Android course in college in 2017, I vowed that I would never deal with Android again in my life. Then I spent a week studying the teacher’s knowledge points in “The First Line of Code” and recorded the notes on CSDN. . Five years later, when I was looking for a […]