Android DataBinding learning kotlin version

Android DataBinding learning (I): basic application I Introduction to DataBinding DataBinding is a technology officially launched by google to reduce the coupling between UI and business code. The good use of DataBinding can effectively reduce the bloated Activity and save a lot of code use of findViewById. II Basic application 1.gradle ...

Added by 696020 on Wed, 26 Jan 2022 14:44:39 +0200

Gitlab CI pull submodules

preface In project development, it is sometimes necessary to use another project (third-party or independent project). At this time, you can use Git tools - sub modules To manage. When a sub module (GIT sub module add < project gitlab URL >) is added locally and pushed to gitlab, we expect gitlab CI to automatically clone or pull the ...

Added by icez on Wed, 26 Jan 2022 13:13:45 +0200

Implementation of component router for Android

1, Background With the increasing scale and volume of App development, the development and compilation time is longer and longer. At the same time, the coupling of code may become higher. Now it is more necessary to re plan the development of App by component framework. In the process of component development, a router is needed to jump the pa ...

Added by gilang4 on Wed, 26 Jan 2022 10:42:16 +0200

[Android] simple use from zero foundation to soaring ViewPager

2.6.3 simple use of viewpager classification Android basics tutorial Introduction to this section: This section brings a UI control - ViewPager (View sliding switching tool) introduced after Android 3.0. I really can't think of how to call this control. Its general function: View switching can be completed thro ...

Added by jerastraub on Tue, 25 Jan 2022 21:27:24 +0200

[Android event distribution] analysis of event distribution source code (the driver layer transmits events through interrupt | WindowManagerService transmits events to the View layer)

Android event distribution series article directory [Android event distribution] analysis of event distribution source code (the driver layer transmits events through interrupt | WindowManagerService transmits events to the View layer) 1, Event distribution context Event distribution analysis process: ① Driver layer - > ...

Added by pixelfish on Tue, 25 Jan 2022 17:16:36 +0200

[Android] basic use of zero foundation to skyrocketing | viewflipper

2.5.6 basic use of viewflipper Introduction to this section: This section brings you ViewFlipper, which is a multi page management control of Android and can be played automatically! Unlike ViewPager, ViewPager is page by page, while ViewFlipper is layer by layer. Like ViewPager, it is often used to realize the guide page after entering the ...

Added by ChrisMartino on Tue, 25 Jan 2022 16:06:06 +0200

Application summary of Lottie animation in the project

Application summary of Lottie animation in the project 1. Background Based on the high-frequency usage of lottie animation, this paper summarizes the use skills and precautions of lottie animation in the project, which is convenient for dealing with similar needs in the project in the future, rapid retrieval and application, and will b ...

Added by vishakh369 on Tue, 25 Jan 2022 14:44:17 +0200

Android - SnapHelper error in recycleviwe: "An instance of OnFlingListener already set."

1. Application scenario of snaphelper Generally, when we use RecyclerView to implement the simple picture rotation picture Banner, we need to realize the page turning effect by picture, but RecyclerView will "stay in the process" during the rolling process and cannot achieve the "page turning" effect. At this time, we h ...

Added by php-phan on Tue, 25 Jan 2022 08:49:04 +0200

Android AOP programming -- the use of AspectJ

What is AOP The following is an introduction to AOP on Wikipedia: Aspect oriented programming (AOP) is a programming idea in computer science, which aims to further separate crosscutting concerns from business subjects, so as to improve the modularization of program code. By adding an additional Advice mechanism to the existing code, the code ...

Added by Ludo Lambrechts on Tue, 25 Jan 2022 04:41:30 +0200

Gradle+ASM practice -- Thoughts on privacy policy

preface I wrote an introduction to the previous two articles: Gradle plug-in + ASM practice - Introduction and Gradle+ASM actual combat - advanced level , those who are not familiar with gradle+ASM can go to the previous article to check github address: https://github.com/Peakmain/AsmActualCombat Demand background The new company was replace ...

Added by dodginess on Mon, 24 Jan 2022 15:44:14 +0200