1. Create an empty directory RNDemo 2. Create a subdirectory android in RNDemo 3. Copy the android project to the subdirectory android, as shown in the project structure below. 4. Create the package.json file in RNDemo and add the following contents:
Posted by Minase on Fri, 31 Jan 2020 09:33:06 -0800
Fresco is Facebook's latest powerful image library for displaying pictures in Android applications, which can load pictures from network, local storage and local resources. Compared with image loader, it has many advantages, such as faster image download speed and can load and displ ...
Posted by jmrothermel on Fri, 31 Jan 2020 09:15:26 -0800
Please indicate that this article is from xiaamming's blog( http://blog.csdn.net/xiaanming/article/details/17761431 )Please respect the hard work of others, thank you!
I wrote an article about meituan.com, the effect of purchase box in public comments Android monito ...
Posted by linda_v on Fri, 31 Jan 2020 04:33:55 -0800
1. apply the wake lock tool class AlertWakeLock
After the mobile phone is dormant, the application's calculation, timing and download may be dormant due to the CPU, resulting in the application itself unable to receive the message, data and broadcast in time. To solve the problem caused by CPU sleep, we can use hold lock to ke ...
Posted by konnwat on Fri, 31 Jan 2020 00:19:05 -0800
Reduce layout nesting
Android ConstraintLayout use details
ConstraintLayout fully parsed. Let's optimize your layout
ConstraintLayout visual operation
Performance advantages of ConstraintLayout
compile 'com.android.support.constraint:con ...
Posted by new2code on Thu, 30 Jan 2020 23:46:12 -0800
date: 2020-01-12 21:46:05
Customizing the ListView UI
Posted by cjmling on Thu, 30 Jan 2020 23:42:42 -0800
1, Before you start:
Centralized login architecture design: this login is not a login request, but a judgment of whether the current login status is available. If it is not, skip the login interface; otherwise, perform the corresponding skip logic. This business is a global business, and the global b ...
Posted by keystroke on Thu, 30 Jan 2020 22:50:33 -0800
Android UI Interface Design - with Reference Documents
UI Interface Design
1. Basic Components
1. Text class components
Reference Document docs
1.2 EditText (a subclass of the textview component)
2. Button class components
2.1 Button, a common button component (a subclass of the tex ...
Posted by lajollabob on Thu, 30 Jan 2020 18:38:47 -0800
npm install -g cordova
Create cordova project and add android platform
cordova create Project name Package name
cd Project name
cordova platform add android
npm install -g plugman
Create a plug-in (this blog demo plug-in name mytoast, package name com.digi ...
Posted by mikegzarejoyce on Thu, 30 Jan 2020 08:26:38 -0800
4, Source code analysis
4.1. Create retrofit
4.1.2. Add baseUrl
4.1.3. Add GsonConverterFactory
4.2. Create network request
4.3. Call the network request API, generate a call, and execute the reque ...
Posted by jandrews on Wed, 29 Jan 2020 04:17:57 -0800