HTTP is our modern application network for exchanging data and media streams. Effective use of HTTP can save bandwidth and load data faster. Square's open source OkHttp network request is an efficient HTTP client. Previous knowledge is limited to the use of framework API. After touching the actual work, I know my lack of knowledge. So ...
Posted by ladokha on Tue, 14 May 2019 05:32:54 -0700
1. Familiar with window structure diagram:
2. Understanding PhoneWindow, DecorView, Windows Manager, ViewRootImpl and other keywords.
Every Activity has an instance of a Windows object, which is actually PhoneWindow type, so it can be seen that PhoneWindow is a subclass of Windows.
Knowledge: Every Activit ...
Posted by The Stewart on Tue, 14 May 2019 03:48:42 -0700
Click "Android Technology Grocery Store" above and select "Top Public Number"
Dry article, first time service!
Link: https://www.jianshu.com/p/cc526bb34414, this article is authorized by the author.
I haven't written anything for a long time, and you may come down again. You may thin ...
Posted by dark_mirage on Sun, 12 May 2019 05:03:41 -0700
Activity Manager Service (AMS) is one of the three core functions of the Android kernel, and the other two are Windows Manager Service and View. Activity Manager Service manages four components. Android wants to obscure the role of process and replace it with the concept of component. Activity Manger Ser ...
Posted by Rik Peters on Sun, 12 May 2019 00:12:55 -0700
In the past, most of android development used java, but because of the introduction of kotlin, the company began to use kotlin, so here is a note to learn kotlin.
There is no basic type in kotlin, where everything is an object, which also leads to its lack of automatic conversion function ...
Posted by peri on Sat, 11 May 2019 22:54:48 -0700
Primitive simple usage
Add WebView to the layout file
<?xml version="1.0" encoding="utf-8"?>
Load WebView with LoadUrl() method
Posted by bassdog65 on Sat, 11 May 2019 22:43:14 -0700
I believe that the front-end has done the function of page anchor location, through <a href="#head"> to set the page anchor location jump.
This article uses tablayout and scrollview to realize the function of android anchor location.
1. Monitor scrollview sliding position, tablayout switch to ...
Posted by FireyIce01 on Sat, 11 May 2019 22:03:55 -0700
1. Introduction to Complex Page Library
2. Advantage highlights of this library
2.1 supports multiple state transition management
2.2 Support for adding multiple header s and footer s
2.3 Support for side sliding and dragging
2.4 Introduction to Other Highlights
3. How to use the introduction
3.1 Basic Use
3.2 Add ...
Posted by mhouldridge on Sat, 11 May 2019 21:44:31 -0700
First, how to optimize?
1: Identify what needs to be optimized
Using Android APK Analyzer to analyze the size of each part of APK, the size distribution of version 5.1.1 APK is as follows:
The result of the analysis is that three areas need to be optimized
res(app resources include images and xml resources)
Posted by codeDV on Sat, 11 May 2019 18:13:56 -0700
1. Core Source
2. ANR Basic Cognition
What is 2 ...
Posted by Scott_J on Sat, 11 May 2019 10:42:13 -0700