Android uses java and the simplest animation to write a login registration implementation (simple version)

2021.10.4 simple login and registration, with its own database and simple animation interface.           Recently, learning Android java mobile development requires a login and registration interface. I don't have much time to write a simple version. Get to the point: Ps: you can enter the animation without adding it ...

Posted by Digital Wallfare on Mon, 04 Oct 2021 00:52:04 +0200

Android generates National Day avatars

effect   thinking At first, I wanted to cover the picture with a picture of the national flag, and then adjust the transparency of the picture of the national flag. But the effect is not very good.      Above is a picture of the national flag covered with and two-thirds of the effect. It's not clear enough to cover the head. It's ...

Posted by seoreferrals on Wed, 29 Sep 2021 06:26:16 +0200

Analyze the installation process API29 for APP

First summarize the installation process and the more important classes PackageInstallerActivity.java: This class is invoked when an apk is clicked in the file manager, primarily to display some permission information for the apk to be installed. InstallAppProgress.java: When you have finished viewing all the permissions, the class is cal ...

Posted by 2705ap on Tue, 28 Sep 2021 19:27:06 +0200

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