Simple use of viewBinding in RecyclerView
Preface
Let's start by saying that my compiler version is as4.0 beta2.
gradle:4.0.0-beta02, corresponding to gradle-6.2.2-all.zip.
As for the role of viewing, I directly quote the words on the android Developer website:
With view binding, you can write code that interacts with views more easily. When ...
Posted by dabnet on Tue, 17 Mar 2020 02:09:22 -0700
Building an Android Project with Kotlin DSL
Preface
Android supports using Kotlin DSL to build Gradle scripts, don't you want to learn a wave yet?
Theme of this article:
1. How to replace Groovy with Kotlin DSL
2. Problems encountered in the process and Solutions
Why use Kotlin DSL
Advantages of using Kotlin DSL:
Since Kotlin is now the offi ...
Posted by shubham.amola on Mon, 09 Mar 2020 18:10:09 -0700
Compiling arttoolkit x with Android Studio+CMakeLists
If the company wants to study the AR technology in advance, it will try to study the arttoolkit. The Internet is full of examples about compiling arttoolkit 5. Arttoolkit 5 has not been updated for a long time, and arttoolkit x is the latest version, but it has not found a way to compile arttoolkit x ...
Posted by bpops on Wed, 04 Mar 2020 00:18:11 -0800
Kotlin cross platform development
Today, let's briefly introduce the use of kotlin for cross platform development, so that one code, multiple runs.
I. Introduction
First of all, I extracted some basic information from official documents.
At the beginning of design, kotlin language has a clear goal, that is, it can be used on all plat ...
Posted by koencalliauw on Mon, 02 Mar 2020 00:40:13 -0800
Android Studio Multi-Channel Packaging (1)
1. Multi-channel concept
APP s are published to different application platforms to monitor from which platform users are installed.
2. Why multi-channel packaging
Statistics User Installation APP Sources
Batch modify generated apk file name
Changeable package name
Generate different application names or icons
3. Multi-Channel Configuration
...
Posted by Festy on Wed, 26 Feb 2020 08:39:44 -0800
Android print execution time of all methods of main thread
Preface:
We know that Android carton is mainly caused by time-consuming operations in the main thread, so how can we easily and quickly get the execution time of all time-consuming methods in the main thread? Today we will introduce two plans
Scheme 1: use the special keyword of logging.print of lo ...
Posted by askbapi on Sat, 22 Feb 2020 01:57:41 -0800
Interaction between Android Studio and Unity -- loading the project exported by Unity into Android Studio
Version information
Android Studio: (Android Studio-Help-About)
Unity: (Unity-Help-About Unity)
Note:
Latest version of China Enhanced Edition (time: 2020-02-20)
Install Android module
1, Operations in Unity
1. Create a Unity project and prepare a Unity game.
Recommended tutorials: Introduction ...
Posted by dprichard on Wed, 19 Feb 2020 22:47:45 -0800
Simple IOC container implementation
Preface
This article is written to learn the execution process of the Spring IOC container. It can't fully represent the Spring IOC container, but simply implements the dependency injection and control inversion functions of the container, which can't be used in production. It can only play a certain role in understanding the Spring container.
...
Posted by ExpendableDecoy on Mon, 10 Feb 2020 05:03:49 -0800
idea quickly set up spring cloud registration center and registration
Fast setup of spring cloud
Spring Cloud is a microservice framework, which is based on spring boot, a complete set of distributed system solutions provided by Spring Cloud.
First, we use gradle to create:
Select JDK and check Java, then next
Package name already has project name. Next step:
Select our local gradle package and continue ...
Posted by mattd8752 on Sun, 09 Feb 2020 10:59:08 -0800
How do I import the system UI to Android studio step by step
Next, I will introduce the system UI to Android studio step by step.
Modify the code of the relevant modules of the system. If it's a small modification, it's OK. If it needs more changes, it's best to import the source code into Android studio to modify. The modification efficiency will be improved ...
Posted by deadlyp99 on Tue, 04 Feb 2020 05:44:56 -0800