react-native custom Modal modal box, imitation ios, RN
Preorder
Throughout every high-quality project, whether on the web side or in the development of native applications, pop-up windows are an indispensable part, which can directly determine the user experience to a large extent. For example, there is a very mature set of window UI display scenes in ios.
Recently, I have been addicted to the re ...
Posted by cjdesign on Mon, 07 Oct 2019 01:32:46 -0700
flutter develops an application
Details page, directly on the code:
class GankDetailPage extends StatefulWidget {
GankDetailPage({Key key, this.gankBean}) : super(key: key);
final GankBean gankBean;
@override
_GankDetailPageState createState() => new _GankDetailPageState(gankBean);
}
class _GankDetailPageState extend ...
Posted by gozbay.com on Sun, 06 Oct 2019 19:58:55 -0700
Android Advanced Components
This chapter will introduce the content of setting up UI for XML:
Tab Host, tabWidget, FrameLayout
Image Switcher
GridView
Tab Host, tabWidget, FrameLayout
Previously, I have written two ways to implement tags. Although the top tag of this article is different from the previous two, it is much the s ...
Posted by camadan on Sun, 06 Oct 2019 17:35:10 -0700
(NLP): 07 fastText training Chinese model text categorization
Two other ways to install fastText
conda install mode: slow
https://anaconda.org/conda-forge/fasttext
windows version can be installed through WHL (fasttext 0.9.1 cp36 cp36m win32.whl), which can be used under windows.
https://www.lfd.uci.edu/~gohlke/pythonlibs/#fasttext
fastText Training
import fas ...
Posted by Unforgiven on Sun, 06 Oct 2019 11:44:46 -0700
MI8 build.prop optimization, code, 9
Links to the original text: https://forum.xda-developers.com/android/general/guide-build-prop-tweaks-t3376962
Modification of documents is riskyImproper operation can make bricks and can't start the machine.Improper operation can make br ...
Posted by D3xt3r on Sun, 06 Oct 2019 07:10:43 -0700
Detailed explanation of Android Vibrator mobile phone vibration
add permission
Add the following shake permissions to the AndroidManifest.xml file
<uses-permission android:name="android.permission.VIBRATE"/>
Get Vibrator
vibrator = (Vibrator)context.getSystemService(this.VIBRATOR_SERVICE);
Simple vibration
First look at the source code of the simple ...
Posted by ayampanggang on Sun, 06 Oct 2019 04:34:55 -0700
Write a stability test script for homepage refresh using UiAutomator
In the process of Android APP stability test, I need to test the stable operation and performance data collection under the scene of constantly refreshing the content of the home page. UiAutomator + multithreading finally solves this problem. The idea is as follows: First write the running script with UiAutomator, then output the debugging comm ...
Posted by squalls_dreams on Sun, 06 Oct 2019 00:29:21 -0700
Kotlin Solves the Problem of Duplicate Pages in Quick Click Page Jump
Solution: Set a response interval for each click
Effects: I copy the code to run, I test is normal, do not deal with the original, fast click, there really will be two interface situation.
1. Page jump, create a new FirstActivirty
Remember to register in the list file
<activity android:name=" ...
Posted by mediabob on Sun, 06 Oct 2019 00:21:32 -0700
Python takes you on a walk-on tour around the world
1. Target scenario
Eleven long holidays, I believe that most of your friends will be in the waves around the country or on the road, friends circle will become the place for you to perform.
Of course, there is a small friend who chooses to squatting at home. Do you feel bored? Do you want to go out and take part in the Friendship Photo Competi ...
Posted by claypots on Sat, 05 Oct 2019 12:54:28 -0700
Deploy Android Encapsulation Library to maven Private Servers via gradle and Depend on Use
1. Add the following sections to build.gradle under the module chrisbaselibrary that needs to be published
//maven Plug-in unit
apply plugin: 'maven'
//Pack main Code and resource under directory task
task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}
//Configuration needs ...
Posted by dancing dragon on Fri, 04 Oct 2019 18:14:53 -0700