Usage and skills of BackgroundLibrary
Library address: https://github.com/JavaNoober/BackgroundLibrary
In order to solve a large number of style files in the project, such as shpre, selector and other files, the BackgroundLibrary library is introduced. Let's introduce the use of BackgroundLibrary.
Advantages: it reduces the creation of a large number of xml filesDisadvantages: yo ...
Posted by haku on Tue, 01 Mar 2022 11:08:12 +0100
Flutter Favorite's routing packet beamer
Quick start
The simplest use is to use RoutesLocationBuilder, which produces the least code. It is a great choice for applications with few navigation scenes or applications with shallow page stacks (that is, pages are rarely stacked together).
class MyApp extends StatelessWidget {
final routerDelegate = BeamerDelegate(
locationBuilder: ...
Posted by Slippy on Thu, 24 Feb 2022 09:26:37 +0100
paging goes from use to abandonment, and then to use
Remember that the paging framework should have been used in version 2.0. But to be honest, if I want to realize paging Dehua, I must first write a lot of code and go around. No matter how encapsulated, the amount of code will not be small. Layering is clear to the dog. However, at present, we are so busy that we can't use it out of the box. I r ...
Posted by alex_funky_dj on Mon, 21 Feb 2022 07:31:54 +0100
Analysis on the process of pulling up the soft keyboard in Android WebView
preface
This article is flutter_ hybird_ Practice and technology sharing of WebView cross process rendering One of the research notes in the development process. If there are errors, please point them out.
Source code analysis
First, let's take a general look at the inheritance structure of webview:
public class WebView extends MockView {
...
Posted by hubardz on Thu, 10 Feb 2022 15:07:21 +0100
Influence of Android P behavior change on WebView
This problem was encountered years ago. On the first day of work after the year, I suddenly thought of the problem solved years ago when verifying other problems. I can't remember how to solve it at that time. I looked through the code and thought for a while before I remembered it. This is recorded here.
The error logs counted are as follows: ...
Posted by philip@hux.co.za on Wed, 09 Feb 2022 12:25:33 +0100
File upload and file download of spring MVC
1. File upload
In web development, there are usually file upload operations
The common fileUpload component of Apache organization is used for file upload in general java web development
When multipartfile object is used in spring MVC to accept uploaded files, the name of background parameters must be consistent with the name of the file sub ...
Posted by kirk112 on Wed, 09 Feb 2022 09:13:34 +0100
WebView | network request method | HttpURLConnection | OkHttp | with instance based on Android
WebView
brief introduction
It is generally used to load some network interfacesAndroid is a high-performance browser with built-in webkit kernel, and WebView is a control encapsulated on this basis. WebView can be simply regarded as a browser control that can be nested on the interface!
method
WebChromeClient
Assist WebView in handling Ja ...
Posted by metalenchantment on Mon, 17 Jan 2022 13:44:54 +0100
How WatchDog works
1, Overview
In the Android system, a hardware WatchDog is used to regularly detect whether key hardware works normally. Similarly, in frame There is a software WatchDog in the work layer, which is used to regularly detect whether life and death lock events occur in key system services. The WatchDog function mainly analyzes whether the core ser ...
Posted by getgray on Fri, 07 Jan 2022 08:46:14 +0100
WebView independent process scheme - Secondary encapsulation based on Tencent X5
Preface overview
Almost all apps use WebView components. It is also an option to use WebView to host business functions. After all, there is no need to wait for the review of the application market to improve the timeliness of business launch and bug repair. However, WebView loading business functions also has great defects, poor experienc ...
Posted by Daleeburg on Tue, 28 Dec 2021 18:20:22 +0100
[JVM] explain the principle and implementation of HotSpot, heap and OOM in detail
catalogue
Reference articles
Three JVM s
1.Sun HotSpot
2.BEA JRockit
3.IBM J9 VM
Heap
Partition of heap memory
Evolution of permanent generation
Method area and permanent generation / meta space
Trigger conditions for Minor GC and Full GC
OOM(Out Of Memory)
Common configuration parameters of JVM heap
...
Posted by anatak on Sat, 25 Dec 2021 23:38:49 +0100