Tiktok volcano version device registration generates device_id and iid
1, Foreword Tiktok volcano volcano volcano is a small video. It is understood that the volcanic video has been upgraded to the tiktok version. It is necessary to upgrade its security measures. The author studied the equipment registration method of the flare volcano version, which is to generate device_. Tiktok can make nothing of it. It is pos ...
Added by hwmetzger on Wed, 22 Dec 2021 23:50:04 +0200
Four components - Content Provider Details
Four components - Content Provider Details
@author worry-free teenager
@createTime 2021/08/15
1. Introduction to Content Providers
Content Provider is mainly used to share data between different applications. It provides a complete mechanism to allow one program to access data in another program while also ensuring the security of the ...
Added by kenshejoe on Wed, 22 Dec 2021 21:50:13 +0200
How ViewModel saves state
1, Foreword
Although ViewModel has helped us deal with the data retention problem caused by page destruction and reconstruction caused by screen rotation, the data is not saved for page destruction and reconstruction caused by insufficient memory. This article mainly makes a unified improvement and arrangement according to the official doc ...
Added by centenial on Wed, 22 Dec 2021 18:26:05 +0200
[Kotlin beginner] empty safety and exception
catalogue
1, Air safety
1.1 null pointer
1.2 nullability (?)
1.3 safe call operator (?.)
1.4 let operator
1.5 use non null assertion operator (!!!.)
1.6 use the empty merge operator (?:)
1.7 using the type conversion operator (as)
1.7. 1 unsafe conversion operator: as
1.7. 8. Safe conversion operator: as?
2, Abnormal
2.1 concept
2. ...
Added by xisle on Wed, 22 Dec 2021 18:22:54 +0200
Native Android project access to fluent AAR
1, Environment constructionFirst, developers need to build a good development environment according to the construction process of native Android and iOS. Then, go Flutter official website Download the latest SDK, and then unzip it to the user-defined directory. If there is a download problem, you can use the temporary image officially built by ...
Added by fandelem on Wed, 22 Dec 2021 17:23:14 +0200
Rxjava source code analysis - thread switching source code
summary
The source code of rxjava simple subscribe has been mentioned earlier. Interested readers can have a look. Rxjava source code analysis (I) - subscribe source code
Based on the previous analysis, this article will continue to talk about rxjava interrupt thread switching.
Demo
The main logic is as follows:
Observable calls create() t ...
Added by itreP on Wed, 22 Dec 2021 14:12:24 +0200
An article to understand the Android Framework
This paper aims to describe the Framework of the Framework, mainly to record my learning about android framework for a period of time, hoping to attract jade and help readers.prefaceWrite before: 1. Is it necessary to learn linux kernel? I think it is necessary. Learning linux kernel helps us to deepen our understanding of some concepts, such ...
Added by bashaash on Wed, 22 Dec 2021 13:36:46 +0200
Android interview must ask Android Foundation
1,Activity1.1 life cycleNormally, an Activity will go through the following stages:onCreate: indicates that the Activity is being created.onRestart: indicates that the Activity is being restarted.onStart: indicates that the Activity is being started. It is already visible at this time, but it does not appear in the foreground and cannot intera ...
Added by Scutterman on Wed, 22 Dec 2021 08:54:41 +0200
8 relative layout - RelativeLayout
In the previous section, we talked about LinearLayout, which is also the first layout you learned. It supports multiple views in a linear manner (horizontal or vertical) combination. The most practical one is the weight attribute. Using weight well can make your linear layout more flexible and beautiful. However, in the example in the previous ...
Added by yaba on Wed, 22 Dec 2021 06:39:29 +0200
Explore OkHttp series caching mechanisms
preface
In the previous article, we introduced BridgeInterceptor. In this article, we will introduce CacheInterceptor, which is related to the caching mechanism of OkHttp.
Before introducing the caching mechanism of OkHttp, let's first understand the caching mechanism of Http.
Cache mechanism of Http
Caching mainly refers to the resource co ...
Added by slawrence10 on Wed, 22 Dec 2021 05:17:40 +0200