56. The core principle of Flutter - Flutter startup process and rendering pipeline

start-up The entry of FLUENT is in the main() function of "lib/main.dart", which is the starting point of dart application. In the Flutter application, the simplest implementation of the main() function is as follows: void main() => runApp(MyApp()); You can see that the main() function only calls one runApp() method. Let's see ...

Added by gypmaster on Tue, 15 Feb 2022 05:39:57 +0200

[daily practice of Android spring moves] LeetCode Hot 5 questions

overview LeetCode Hot: longest continuous sequence, numbers that appear only once, word splitting, circular linked list, circular linked list II LeetCode Hot 2.46 longest continuous sequence Given an unordered integer array nums, find the length of the longest sequence of consecutive numbers (sequence elements are not required to be con ...

Added by kml2katz on Tue, 15 Feb 2022 03:42:59 +0200

Kotlin grammar manual

Kotlin grammar manual (III) When using kotlin, because the mastery is not reliable enough, it is still a habit of Java programming, which wastes the language features, convenience and indirectness provided by kotlin. When reading some Android open source libraries, it is difficult to read because many of them are written by kotlin syntax, and ...

Added by alsaffar on Tue, 15 Feb 2022 03:36:42 +0200

Learning record of ARouter principle

preface The first share after the Spring Festival, the working state is also slowly found back. This article will share with you the principle of ARouter. By understanding its principle, we can know how it supports calls between componentized and non interdependent modules or page jumps. text Introduction to ARouter ARouter is a component-b ...

Added by PandaFi on Mon, 14 Feb 2022 18:00:13 +0200

Actual combat | use composite material 3 in application

Material You It is not only the development direction of the next generation of Material Design, but also a new design vision: it is convenient for you to create personalized style design, meet various needs and adapt to various screens; Jetpack Compose It is a new modern toolkit for building a native Android interface, which can help you build ...

Added by wha??? on Mon, 14 Feb 2022 06:31:07 +0200

synchronized deep parsing of pain points in Java stamp

Introduction: role, status, impact of not controlling concurrencyUsage: object lock and class lock7 cases of multithreaded access synchronization methodNature: reentrant, non interruptiblePrinciple: add unlock principle, reentrant principle, visibility principleDefects: low efficiency, not flexible enough, unable to predict whether the lock is ...

Added by Creech on Mon, 14 Feb 2022 02:40:03 +0200

synchronized deep parsing of pain points in Java stamp

Overview: Introduction: role, status, impact of not controlling concurrency Usage: object lock and class lock 7 cases of multithreaded access synchronization method Nature: reentrant, non interruptible Principle: add unlock principle, reentrant principle, visibility principle Defects: low efficiency, not flexible enough, unable to predic ...

Added by menriquez on Sun, 13 Feb 2022 15:49:56 +0200

Custom View incomplete to be continued

Custom View Purple wish_ The world is as good as possible. A teenager who is committed to internship in the factory during the sophomore summer vacation wrote for the first time on February 13, 2022 What is a custom View What is the difference between a custom View and a custom ViewGroup? Custom views generally need to implement t ...

Added by hedgehog90 on Sun, 13 Feb 2022 08:34:48 +0200

Qt android development environment construction

I recommend a free open course of zero sound college. Personally, I think the teacher speaks well. I share it with you: Linux, Nginx, ZeroMQ, MySQL, Redis, fastdfs, MongoDB, ZK, streaming media, CDN, P2P, K8S, Docker, TCP/IP, collaboration, DPDK and other technical contents, learn immediately Recently, I'm working on Qt Android related ...

Added by fat creative on Sat, 12 Feb 2022 18:49:59 +0200

[Android source code learning] SharedPreferences source code learning

Chapter 1: SharedPreferences source code learning Defects in Android SharedPreferences Cause ANRCause CatonAll read and write to memoryData lossCannot cross process Comparison of MMKV, Jetpack DataStore and SharedPreferences functionMMKVJetpack DataStoreSharedPreferencesWhether to block the main threadnonoyesThread safeyesyesyesIs cross ...

Added by supratwinturbo on Sat, 12 Feb 2022 16:48:35 +0200