Android Source Parsing-ViewModel

Preface IM has been implemented in the last month. The UI framework uses the storage and notification mechanism of ViewModel and LiveData to make the code succinct and easy to maintain.While the Android arch components control is powerful, we need to analyze a wave of source code implementation by the way. Today let's first analyze the source i ...

Added by Karlos94 on Fri, 27 Sep 2019 12:05:54 +0300

Springboot outputs PDF files

Preface There's a person (dead demand) running over to tell you, these are all output to me as a report, pdf format, so there's the following one, take notes, later useful directly come to get it. Looking online, we found that everyone is using itext.IText is a well-known open project, a java class library for generating PDF documents. Through ...

Added by desmond_ckl on Wed, 25 Sep 2019 16:06:35 +0300

Running webview in an independent process

Links to the original text: https://www.jianshu.com/p/b66c225c19e2 The use of a large number of Web pages in App can easily lead to huge memory occupation, memory leak and high crash rate. The use of WebView independent process is a rea ...

Added by Phantazm on Wed, 18 Sep 2019 13:01:57 +0300

JSP Form Processing

Links to the original text: https://my.oschina.net/u/3389779/blog/888878 When we browse a web page, we often need to submit information to the server and let the background program pro ...

Added by RDKL PerFecT on Tue, 17 Sep 2019 09:15:54 +0300

Android Advancement - Protocol Buffer Complete Introduction to a Higher Efficiency and Lightweight Sequencing Scheme for Performance Optimization

outline Introduction I. Procedures for the Use of Protocol Buffer 2. Using Protobuf in Android Studio 1. Introducing protobuf-gradle-plugin Gradle plugin Android Studio project 2. build.gradle uses plug-ins and configures them accordingly under M ...

Added by pazzy on Sun, 15 Sep 2019 11:00:34 +0300

Android - ----- The Use of LiveDataBus

LiveData is a new technology presented at the 17-year Google IO conference. Compared with the framework EventBus and RxBus of communication bus type, it is simpler, simpler and more decoupled. LiveEventBus is an Android message bus based on LiveData, with life cycle awareness, Sticky support, AndroidX support, cross-process support, cross-APP ...

Added by lional on Sat, 14 Sep 2019 17:51:58 +0300

How does Go implement protobuf encoding and decoding: principle

Links to the original text: https://mp.weixin.qq.com/s/O8... This is a companion article to analyze how Go implements protobuf encoding and decoding: How to Realize the Coding and Decoding of protobuf by Go (1): Principle How Go implements protobuf encoding and decoding (2): source code This edition is the first one. Introduction to Protocol ...

Added by danharibo on Mon, 09 Sep 2019 16:14:10 +0300

Should we be able to speculate in stocks with python?

Since the author does not have a deep mathematical background or financial knowledge, he will not quote various advanced investment models or mathematical models in this paper. The reference books are mainly "Turtle Trading Rules" and "Make a living from trading". trading system Before trading, we should first have a tradin ...

Added by norpel on Fri, 06 Sep 2019 19:09:36 +0300

Tesseract: Simple Java Optical Character Recognition

1.1 Introduction The development of symbols with a certain value is a peculiar feature of human beings. It is very normal for people to recognize these symbols and understand the text on the picture. Unlike the way computers grab words, we read them purely on the basis of our visual instincts. On the other hand, the work of computers requires s ...

Added by magic2goodil on Wed, 28 Aug 2019 17:45:40 +0300

Android 9.0 (API 28) Resource Management Source Analysis

Since Android 7.0, Google has made a major adjustment to Resources. Today, let's look at the source code of Android 9.0 First look at Resources.java Instead of maintaining Assert Manager in Android 6.0 Resources, Assert Manager is encapsulated ...

Added by lee20 on Wed, 28 Aug 2019 15:00:47 +0300