Packable ideal serialization scheme

1, Foreword When we need to store or transmit some information, we usually need to use a data protocol to convert the information into a form that can be stored or transmitted (binary byte stream, encoded text, etc.). In particular, when the data source is an object, the process of converting tUTF-8...

Posted by johnnyk on Thu, 05 Aug 2021 05:49:17 +0930

XPage series | it's time to abandon ButterKnife

preface As X-Library series framework Where my soul is, XPage Open source for two years, has been committed to reducing the difficulty of using fragments, and strive to realize an Activity multi Fragment Android development model. Some time ago, after watching for a long time, I finally updatedUTF-8...

Posted by carlos1234 on Tue, 10 Aug 2021 08:59:44 +0930

Android solves the XML memory leak of XXX layout left using Navigation

Recently, I maintained a project and checked the cause of a memory leak for a long time. Here is a record. At the beginning of the article, it is suggested to take a brief look at the troubleshooting process and error causes, and then look at the solution results to avoid wasting everyone's tiUTF-8...

Posted by roach on Wed, 08 Dec 2021 01:00:10 +1030

Some Tips in Kotlin development

Scope function selectionAt present, there are five scope functions: let, run, with, apply and also.The official document has a table to illustrate the differences between them: To sum up, there are several differences:1. apply and also return context objects.2. let, run, and with return lambda UTF-8...

Posted by ailgup on Wed, 08 Dec 2021 01:04:16 +1030

Docker data volume learning

introductionIn Docker, the data reading and writing of the container occurs in the storage layer of the container by default. When the container is deleted, the data on it will be lost. To achieve data persistence, you need to mount the data from the host to the container. Currently, Docker proUTF-8...

Posted by Chris1981 on Wed, 08 Dec 2021 07:06:52 +1030

android multithreading - AsyncTaskyi

today, we analyze the asynchronous thread classes HandlerThread and IntentService of android. They are unique thread classes of android system, and there is another important asynchronous thread class AsyncTask in android. In this article, we will analyze AsyncTask.General usage analysis and cUTF-8...

Posted by mammy on Wed, 08 Dec 2021 17:31:05 +1030

Touch your hand to teach you to make a segmented progress bar component

Eason recently encountered a requirement to show the segmented progress bar. In order to give the desired appearance and feel of the progress bar, when building the user interface (UI), we usually rely on the available tools provided by the SDK and try to adapt the SDK to the current UI requireUTF-8...

Posted by Emir on Wed, 08 Dec 2021 17:59:11 +1030

Androida development: realize sliding exit Fragment + Activity in one

prefaceCan I add a sideslip return when the sideslip menu is not included, and finish the current Fragment?Today, we have completed this work and made it into a separate SwipeBack fragment library and fragment SwipeBack extension librarycharacteristic: 1. Swipebackfragment and swipebackactivityUTF-8...

Posted by esfisher on Wed, 08 Dec 2021 19:25:33 +1030

RxJava source code analysis

prefaceThis article is based on Rxjava 2.1.2. From the following code, we analyze the implementation principle of RxJava from the perspective of source code:ObservableOnSubscribe oos = new ObservableOnSubscribe() { @Override public void subscribe(ObservableEmitter e) UTF-8...

Posted by john9292 on Thu, 09 Dec 2021 11:57:20 +1030

[suggestions collection] complete summary of Jetpack Compose programming knowledge (including detailed example explanation)

1, Brief descriptionJetpack Compose is the Android UI framework released by Google I/O 2019. It is different from the common UI development paradigm of Xml + imperative Coding in Android, but implements a set of declarative UI framework similar to React based on Kotlin's DSL. Jetpack Compose isUTF-8...

Posted by sharan on Thu, 09 Dec 2021 14:56:35 +1030