When Alipay App meets AndroidX...

Author: Yangzhou This article mainly introduces some new (xin) Suan (lei) in Alipay Android end embrace AndroidX process. What are the differences / difficulties of upgrading Alipay to AndroidX?How is the Migrate AndroidX of Android Studio implemented?How does APK product fit Android x? background Since Android Support was "revoluti ...

Posted by ryanthegecko on Tue, 28 Sep 2021 11:41:32 +0200

How to prevent Handler memory leakage?

During the interview with iqiyi yesterday, the interviewer mentioned the use of static Handler. In fact, I didn't think of this method in the project. So here's another summary of the methods to prevent Handler memory leakage? 1. Why does handler cause memory leakage? This needs to start with the principle of message mechanism. Because the ...

Posted by dennismonsewicz on Tue, 28 Sep 2021 03:22:20 +0200

❤️ [Android road to excellence-05] how to create an Activity and start another Activity. It's full of dry goods. It's recommended to collect ❤️

Hello, I'm brother Manon Feige. Thank you for reading this article. Welcome to one click three times. Highlights of this article: details the creation of an Activity and how to pass parameters and receive return parameters Android series articles are in the Android column. You are welcome to pay attention to them. Previous review ❤️ [An ...

Posted by JonnyThunder on Fri, 24 Sep 2021 14:19:11 +0200

Differences and basic usage between ListView and RecyclerView (detailed explanation) -- the most commonly used and difficult UI controls in mobile app

Introduction: when you open the wechat home page, but there are a lot of news, can you slide down or up? Then how does the function be realized? In fact, most of them use ListView or RecyclerView Topic: basic usage and differences between ListView and RecyclerView 1, The basic usage of ListView, 1. Add ListView control in the required layout ...

Posted by dlcmpls on Thu, 23 Sep 2021 15:21:26 +0200

Types, advantages and disadvantages of Android singleton mode

catalogue Singleton mode definition: Core principle of singleton mode: What should be paid attention to when using singleton mode Single case of hungry man Lazy single case DCL single case (Double Check Lock) Static internal class singleton (recommended) Enumeration singleton Container single example last How to ensure thread safet ...

Posted by trilbyfish on Thu, 23 Sep 2021 11:37:54 +0200

EventBus usage and source code analysis of Android system

1. Introduction to eventbus EventBus is a publish / subscribe event bus framework used in Android development. Based on the observer mode, it separates the receiver and sender of events, simplifies the communication between components, especially the communication between fragments, and can avoid many inconveniences caused by broadcast communi ...

Posted by blueman378 on Tue, 21 Sep 2021 06:54:43 +0200

Understanding of a paragraph in the reorganization of Android Compose

Do not rely on the side effects of executing composable functions, as reorganization of functions may be skipped. If you do this, users may encounter strange and unpredictable behavior in your application. Side effects are any changes that are visible to the rest of the application. For example, the following operations are all dangerous side e ...

Posted by dgray on Sat, 18 Sep 2021 05:20:27 +0200

OKHttp3 use principle and source code analysis

brief introduction OKHttp3 is a java and Android network SDK that supports http1 and http2 network protocols. OKHttp relies on OKIO. component 1,OKHttpClient The OKHttpClient class combines multiple objects, implements the Call.Factory interface, provides a newCall method, and returns realcall (the specific implementation class of call). It ...

Posted by storyteller on Fri, 17 Sep 2021 19:54:11 +0200

Zero basic Android common controls

Common controls Last time, we talked about layout: linear layout, table layout, frame layout and relative layout. This layout is the way to design a framework of content on the whole mobile terminal, and how to design the interface. Finally, in the interface, controls are placed. The so-called controls are components that programmers can contr ...

Posted by Louis11 on Tue, 14 Sep 2021 05:35:31 +0200

uniAPP Android internal update and hot update

overview: 1. Package the uni app into apk or wgt files, and use the plus.runtime.getProperty method to obtain the version number of local application resources. 2. Call the back-end interface, get the version number specified by the back-end and compare it with the version number obtained earlier. If it is inconsistent (you can also judge whet ...

Posted by Sikk Industries on Thu, 09 Sep 2021 21:38:42 +0200