Android EditText @ friends delete the whole block

Opening nonsense It was found that the class of At friend function in the project will have some bug s in some cases, so we combed the logic again, wrote a new one that can display At friends in EditText, highlight, delete the whole, support display on TextView after publishing, and support hyperlink click and other functions. GitHub addres ...

Posted on Wed, 17 Nov 2021 01:59:27 -0500 by sazzie

Environment configuration and simple verification of Dagger2 integration

1.1 configuring Dagger2 dependencies At present, most android applications use gradle for code management, but in the process of integrating Dagger2, there is a certain correlation between the version of gradle and the dependency mode of Dagger2. In some online materials introducing the integration of Dagger2, most of them use "com. Neenb ...

Posted on Fri, 12 Nov 2021 05:22:20 -0500 by jcarver

gradle configuration skills for a complete Android project

Gradle configuration skills I summarized four gradle configuration skills, which can be more convenient for debugging and packaging in Android projects 1. Use gradle's custom Property to realize unified management of configuration and dependency of Android project 2. Use gradle's produc ...

Posted on Tue, 30 Jun 2020 12:40:10 -0400 by Tomcat13

Android build process - Part 2

Android build process - Part 2 Pre operation task list How to view a task class Task1: checkDebugClasspath 1. input/output 2. How to find the task implementation class 3. Core class (AppClasspathCheckTask) Task2: preDebugBuild 1. input/ouput 2. Core class (AppPreBuildTask) Task3: compileDebugAidl ...

Posted on Thu, 25 Jun 2020 22:42:13 -0400 by jason102178

[Unity] Unity embedded Web Mining record - ULiteWebView

[Unity] Unity embedded Web Mining record - ULiteWebView preface The project needs to require Unity project to interact with H5, which is really difficult for me. However, the good thing is that the Kung Fu is not inferior to the intentional people. After constant exploration, they have found a solut ...

Posted on Fri, 19 Jun 2020 05:45:31 -0400 by phpusers

Add jni -------- static registration to the latest as project in 2020

Step 1: import static code block into so Library static { System.loadLibrary("native-lib"); } Step 2: write external functions public native String getString(); //native stands for c\c + + implementation Step 3: generate function header with javah Enter the src/main/java directory of the pr ...

Posted on Mon, 15 Jun 2020 00:41:14 -0400 by TropicalBeach

Using Kotlin to develop Android application (10) - Navigation of architecture components

Navigation of architecture components Navigation component is a library that can manage complex navigation, transition animation, deep link and compile time check parameter transfer among multiple screens in the application To use Navigation, you need to build.gradle Add dependency to: implementation 'androidx.navigation:navigation-fragment: ...

Posted on Thu, 11 Jun 2020 00:51:42 -0400 by df75douglas

Idea builds springboot multi module project and manages dependency uniformly

1 Select File - > New - > project, select gradle java and click next 2. Enter the GroupId and artifactid of the project. GroupId is generally represented by domain name inversion, for example: com.ws Artifactid: project code, and then click Next 3 check as shown in the figure below. Use auto imp ...

Posted on Tue, 09 Jun 2020 01:17:11 -0400 by mckintosh18

Official introduction to Android CameraX

Getting started with CameraX 1. Before you start 2. Create project 1) Project new 2) Add Gradle dependency 3) Create viewfinder layout 4) Settings MainActivity.kt 3. Request camera permission 4. Implementation preview case 5. Implement ImageCapture use case 6. Implement image analysis use case 7. C ...

Posted on Mon, 08 Jun 2020 23:25:51 -0400 by rushdot

[Gradle tutorial] getting started with Gradle

This article is the address of the live room where I share the documents in the learning group in station B http://live.bilibili.com/22263819 PS: ask me, is there any good conference software under Linux? Thank you for your comments 00. Introduction Gradle is an open source automation construction tool, which supports multi language e ...

Posted on Sat, 30 May 2020 22:53:43 -0400 by DrJonesAC2