Android component design 3 -- advanced usage of kotlinpoet
As a means of generating code by annotation processor, kotlinpool generates Kotlin code in an object-oriented way, which is more in line with the design idea of designers than the write code line by line of EventBus
1. Basic syntax of kotlinpoet
First write a piece of Kotlin code
class testPoet{
companion object {
private const val ...
Posted by bradymills on Wed, 02 Feb 2022 03:41:59 +0100
Starting from dpkg deb package, this paper analyzes the content of deb package and the process of dpkg installation package
Download dpkg deb package
Execute apt get download dpkg to download the deb package of dpkg program:
longyu@virt-debian10:/tmp$ sudo apt-get download dpkg
longyu@virt-debian10:/tmp$ ls -lh ./dpkg_1.19.7_amd64.deb
-rw-r--r-- 1 root root 2.2M 6 April 2019 ./dpkg_1.19.7_amd64.deb
1.19. 7 is the version of dpkg package, and amd64 represents th ...
Posted by chuddyuk on Fri, 24 Dec 2021 02:46:52 +0100