Recent Posts
-
[actual combat] query millions of data using multithreading optimization
preface Pre preparation Start test First, make sure that there is data in the database. Due to the complexity of the a…… -
[design pattern] the design pattern in Hamburg — observer pattern
[design pattern] the design pattern in Hamburg -- observer pattern Scene bring in How can it be? You can't wait until …… -
String s1 = new String(“abc”); How many string objects will this code create?
String s1 = new String("abc"); How many string objects will this code create? The answer is to create one or two Creat…… -
Daily Note: About arrays Aslist and collections Some understanding of unmodifiable list
1. Create a list normally and operate the list List<Integer> collect = Stream.of(1,3,5,7,9).collect(Collectors.t…… -
Overloading and rewriting in Java
The difference between overloading and rewriting Overloading occurs in the same class, the same method, with different…… -
elasticsearch7. Version 6.1 + jsoup crawl JD commodity data and use it
Actual combat: elasticsearch7 Version 6.1 + jsoup crawl JD commodity data and use it @H_ 404_ 3 @ Preface @H_ 404_ 3 @…… -
Introduction to Android MediaPlayer Basics
Link to this article: introduction to Android MediaPlayer Foundation Briefly introduce the basic concept, status, comm…… -
Android downloads audio files using urlconnection
Link to this article: Android downloads audio files using urlconnection Use mediaplayer to play online audio, please r…… -
Android mediaplayer plays audio
Link to this article: playing audio with Android mediaplayer It mainly introduces how to play audio with mediaplayer. …… -
Several common operations of Android bitmap: zoom, crop, rotate and offset
Android bitmap related operations Several common operations: scaling, clipping, rotation, offset Many operations need …… -
Android MMAP file mapping to memory introduction
Android 2020 Link to this article: introduction to Android MMAP file mapping to memory During Android development, we …… -
Android tutorial 2020 – actual use of recyclerview
For example, make a list with the item of recyclerview. Android tutorial 2020 - series overview Here we make a specifi…… -
Android tutorial 2020 – getting started with recyclerview
This article is a link to this article to introduce you to the use of recyclerview. Here is a common use. Android tuto…… -
Android frame animation use
Using a series of different pictures and playing them in sequence like a roll of film is a traditional animation, also…… -
Android tutorial 2020 – recyclerview displays multiple items
Android tutorial 2020 - series overview Article link The previous list shows similar data. What if you want to display…… -
Use compose for existing Android projects
After looking at the example project of compose, we also want to use compose. Based on the current situation, the comp…… -
Android jetpack compose introduction example project
Go to GitHub to find the sample project of compose https://github.com/android/compose-samples , clone to local Student…… -
Getting started with Android kotlin collaboration
Android officials recommend using concurrency to deal with asynchronous problems. The following are the characteristic…… -
Getting started with Android workmanager
Work manager provides task scheduling function, and we can mark or name work. Let's use an example to demonstrate how …… -
Android constraintlayout uses chains to control linear groups
A chain is a set of views that are linked to each other by bidirectional position constraints. Views in the chain can …… -
Android seekbar custom thumb, thumb rotation animation effect
On the interface of some music or video playback, when resources are still loaded, the origin (thumb) of the progress …… -
Android View Post method
Resolve the view.post method. Analyze the flow of this method. Speaking of the post method, we can easily think of the…… -
Introduction to Android thread pool
This article mainly uses kotlin to discuss the usage of thread pool in Android development. When we want to use thread…… -
Building an adaptive interface for Android constraintlayout
Original link Constraintlayout lets you create complex large layouts using a flat view hierarchy (no nested view group…… -
Duplicate class android.support.v4.widget.TintableCompoundButton found in modules classes.jar
For an old Android project, change support-v4 in gradle to the reference of Android x, and compile and report an error…… -
Default interface methods are only supported starting with Android N
Operating environment Click the green hammer "make project" and the following error appears Default interface methods …… -
The second secret of Android Development: importing existing projects and precautions
When I saw an example written by jsoup on the Internet, I downloaded it for research, but found that it would not be i…… -
One of the secrets of Android Development: creating clickable buttons
I feel it necessary to learn about mobile phone development, whether for future work needs or current company projects…… -
The third secret of Android Development: parsing HTML pages with jsoup
This section mainly explains how jsoup parses HTML pages. Because the process of Android development inevitably involv…… -
Performance optimization database
Performance optimization - database Part 1 First, what is performance? Generally speaking, the consumption of db / SQL…… -
From spring to springboot
1、 From spring to springboot With the growing ecosystem of spring, spring has become more and more complex and bloate…… -
Lock of Java Concurrent Programming
1、 Lock lock java. util. concurrent. locks. Lock Why do I need lock when I have synchronized? 1.1 reentrantlock Simpl……