prefaceThis paper aims to illustrate how to use Kotlin Flow to solve the pain points in Android development through actual business scenarios, and then study how to use Flow gracefully and correct some typical misunderstandings. For the introduction of Flow and its operator usage, please refer to asynchronous Flow - Kotlin language Chinese stat ...
Posted on Thu, 25 Nov 2021 21:01:24 -0500 by Pegasys
Optimize your application for foldable devices and large screen devices
The screen size of Android devices changes with each passing day. With the increasing popularity of tablet and foldable devices, it is particularly important to understand the window size and status of your application when developing a responsive user interface. Je ...
prefaceThe previous article introduced the rendering framework of RecyclerView and learned that the specific rendering of RecyclerView and its sub views is realized through onLayoutChildren and setMeasuredDimension in LayoutManager.As a component of RecyclerView, LayoutManager is responsible for the layout drawing of items and the recycling and ...
Posted on Thu, 25 Nov 2021 16:24:04 -0500 by phpshift
In the development process, we often encounter various window problems, such as animation exception, window exception, flashing screen, black screen, misplaced display
In the past, we can solve these problems by adding logs, debugging and analyzing code, but these UI problems often appear in a moment, and it is difficult to gr ...
Posted on Thu, 25 Nov 2021 00:16:06 -0500 by tannerc
With the emergence of more and more large screen and folding screen devices, many applications do not adapt the UI of devices of different sizes. At this time, applications choose to display with a specific aspect ratio (although Google does not recommend this, the official still hopes that developers can carry out adaptive lay ...
Posted on Wed, 24 Nov 2021 21:20:35 -0500 by dnszero
Tip: go to the Android learning column and watch more! Click me directly – > Android learning column In this project, pay attention to the modification of the package name prefix and change it to your own. My package name is: com.example.coolweather, otherwise an error will be reported.
Refer to Mr. G ...
Posted on Wed, 24 Nov 2021 18:30:18 -0500 by 3dron
Android program cracking process: decompile - > analyze - > Modify - > decompile - > sign. These operations are performed on the command line. Of course, there are also tools that integrate these operations: macos: Android-Crack-Tool Windows: Android Killer
The concept of register ...
Posted on Wed, 24 Nov 2021 01:39:53 -0500 by abda53
users can configure the frequencies of AHB bus, high-speed APB2 bus and low-speed APB1 bus through multiple prescalers. The maximum frequency of the AHB and APB2 domains is 72 MHz. The maximum allowable frequency of APB1 domain is 36 MHz. The clock frequency of SDIO interface is fixed as HCLK/2.
The 40 kHz LSI is used by the independent ...
Posted on Tue, 23 Nov 2021 21:50:04 -0500 by hawk72500
//Note that the data types in gradle.properties are all String types, and other data types need to be converted by themselves
apply plugin: 'com.android.application'
apply plugin: 'com.android.library'
3.1.2 dynamic configuration of ApplicationId and AndroidManifest
We know that an ...
Posted on Tue, 23 Nov 2021 19:23:21 -0500 by achilles
1, Experimental purpose
Master the method of creating SQLite database;Master the methods of adding, deleting, modifying and querying SQLite data;Learn to use debugging tools to view databases and data tables;
2, Experimental content
Create an Android project named "shiyan0801_ professional"_ ××× (name of stude ...
Posted on Tue, 23 Nov 2021 17:59:59 -0500 by leena