Teach you how to use 24 ES6 methods to solve the JS problem of actual development? Detailed explanation of this article

This article mainly introduces es6 method in 24, these methods are very practical. Please remember this book and turn it out from time to time. 1. How to hide all specified elements const hide = (el) => Array.from(el).forEach(e => (e.style.display = 'none')); // Example: hide all elements on the page? hide(document.querySelectorAll('img ...

Posted on Fri, 12 Jun 2020 00:54:55 -0400 by d~l

Chapter 5 advanced CustomView animation

It is difficult to achieve some complex animation effects only by changing the control properties, such as the Nexus boot animation. This will show how to use PathMeasure and SVG animation to achieve complex animation effects. initialization: PathMeasure is similar to a calculator. It can calculate ...

Posted on Thu, 11 Jun 2020 03:34:19 -0400 by steve m

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

Flutter Actual Warfare] Text Components and Five Cases

Hello, Lao Meng: This is the second in a series of articles about text components, which include text display components (Text and RichText) and text input components (TextField), basic usage and five cases to help you master them quickly. First link: The History of Mobile Technology Text Text is a component for displaying text, not one of t ...

Posted on Wed, 10 Jun 2020 20:27:26 -0400 by LarsLai

Android process live

The way to keep the process alive Some mechanisms of Android killing process Some ways to keep alive One pixel survival method Front desk service Some mechanisms of Android killing process Androcchio's processes are mainly divided into the following five categories: 1. Foreground process Foreg ...

Posted on Wed, 10 Jun 2020 00:58:40 -0400 by juline

Come on! Learn the hand game protection of reversion

With the development of mobile games, the reverse escape technology of mobile games is becoming more and more mature, especially in the aspect of Android. There are many kinds of breakthrough articles. Comparatively speaking, there are few reverse analysis articles about mobile games in iOS. Lu Xinyao, ...

Posted on Tue, 09 Jun 2020 04:04:28 -0400 by plutarck

Simple implementation of Android Notepad function

The implementation of Android Notepad function time stamp Time stamp of edit box Get system time and transform format Save the time to the database and update the time every time you modify it About the layout of time Initialize view Time stamp for notepad list Time to get each note from the data ...

Posted on Tue, 09 Jun 2020 03:50:09 -0400 by sumday

Anbox source code analysis -- anbox rendering principle (source code analysis)

Anbox source code analysis (3) In the previous article, we introduced the principle of Anbox video rendering. In this article, we started from the source code to have a deeper understanding of the mechanism and principle of Anbox and rendering session manager entry The entry function of session mana ...

Posted on Tue, 09 Jun 2020 03:27:28 -0400 by ScratchyAnt

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

Practice Guide for Camera development on Android platform

Article catalog I. Camera Practice Guide 1.1 turn on the camera 1.2 turn off the camera 1.3 open Preview 1.4 close Preview 1.5 taking photos 1.6 start video recording 1.7 end video recording II. Camera2 Practice Guide 2.1 turn on the camera 2.2 turn off the camera 2.3 open Preview 2.4 close Preview 2.5 ...

Posted on Mon, 08 Jun 2020 22:51:00 -0400 by gelwa