Use several simple cases to help you quickly understand kotlin delegation

kotlin entrustment On the introduction of delegation, I will explain the most commonly used ways to implement delegation with several examples of my own implementation. The description will be very clear and easy to understand. In particular, the Lazy initialization method of the inherited Lazy class in the ViewModel extension library in andr ...

Added by fantasticham on Mon, 24 Jan 2022 11:38:17 +0200

Learn Android reverse from 0 to 1 | write the first Android program

Learn Android reverse from 0 to 1 As the saying goes: "a good memory is better than a bad pen". This series of articles is mainly to record their process of learning Android reverse and the pits they encounter. Thank the books, blogs and the coquettish operations of various bosses referred to in the series of articles. pre ...

Added by dominant on Mon, 24 Jan 2022 01:44:06 +0200

Design and implementation of smart home system for Internet of things

1. Project overview Implement a mobile App that can control home devices and obtain relevant temperature and humidity information. App calls HTTP service on ECs; HTTP service encapsulates MQTT subscription and push requests to update the MQTT server; The esp8266 module is connected to the MQTT server through networking, sends the data tr ...

Added by bokehman on Sun, 23 Jan 2022 22:09:17 +0200

The picture is stretched when android starts the full screen of the page picture

Note: This article mainly solves the problem that the picture is stretched when the picture of android startup page is full screen Requirements: Recently, the app has been completely revised, and then the startup page has been replaced with a whole picture. The effect picture is as follows: 2. Question At the beginning, I cut a whole pi ...

Added by scofansnags on Sun, 23 Jan 2022 18:10:15 +0200

Drag and drop View floating on the page

1, Overview In the twinkling of an eye, it is 2022. Looking back, the first time I wrote on csdn was 2017, five years have passed. In the past five years, some people around them got married, some had children, some bought a house, some upgraded to management and no longer wrote code. And I have nothing to do with these. I'm still a dish. I ju ...

Added by 7khat on Sun, 23 Jan 2022 12:14:39 +0200

[Android course design] briefly analyze the course design

Finally, I finished the exam and was able to find some time to write a blog (although I was still worried about my computer performance). I really have nothing to say. The front is nonsense. Enter the text 1. Introduction to course design The Android course I did is a forum system, which has built a background server, so it realizes the f ...

Added by PromaneX on Sun, 23 Jan 2022 10:05:06 +0200

The core principle of spring cloud RPC: RxJava responsive programming framework, creation operator

Create type operator The creation operator is used to create an Observable object, Observable subject object and pop up data. RxJava has many creation operators, which are roughly as follows: (1) Create (): create an Observable topic object from scratch using the function. (2) defer(): Observable topic objects are created only when subscribe ...

Added by rossh on Sun, 23 Jan 2022 09:04:58 +0200

Bottom principle of RN communication -- Summary

Facebook announced the plan and roadmap for large-scale reconstruction of Rn in June 2018. The purpose of the whole reconstruction is to make RN lighter, more suitable for mixed development, close to or even achieve the original experience. The technical core of the new architecture is JSI, and Turbomodule is implemented based on it. In the ho ...

Added by fallenangel1983 on Sun, 23 Jan 2022 08:29:22 +0200

3. In depth understanding of init

Copyright notice: This is the original article of CSDN blogger "Allah Shennong", which follows the CC 4.0 BY-SA copyright agreement Original link: https://blog.csdn.net/Innost/article/details/47204675 Chapter 3 in depth understanding of init 3.1 general Init is a process. Specifically, it is the first process in user spac ...

Added by JackW on Sun, 23 Jan 2022 05:10:26 +0200

Fluent frame analysis Constraint

1. Preface stay Fluent framework analysis (IV) - RenderObject In this article, we briefly introduced the core rules of RenderObject layout in fluent. Constraint is down, Size is up, and the parent node sets the position of this node. In this article, we will analyze this rule in detail. 2. Analysis of layout principles The core rules of Rend ...

Added by tet3828 on Sat, 22 Jan 2022 23:45:33 +0200