//index.android.js
'use strict'; import React, { AppRegistry, Component, Navigator, } from
'react-native'; import SplashScreen from './splash.js' index.android.js class
AwesomeProject extends Component { render() { var defaultComponent =
SplashScreen;return ( <Navigator initialRoute={{ name: 'Splash', component:
defaultComponent }} configureScene={(route) => {return
Navigator.SceneConfigs.HorizontalSwipeJumpFromRight; } } renderScene={(route,
navigator) => { let Component = route.component;return <Component
{...route.params} navigator={navigator} /> } } /> ); } }
AppRegistry.registerComponent('AwesomeProject', () => AwesomeProject);
//splash.js
'use strict' import React, { Component, Image, StyleSheet, } from
'react-native' import MainPage from './mainpage.js'; export default class
SplashScreen extends Component { constructor(props) { super(props); var
{navigator} = props; setTimeout(() => { navigator.replace({ name: 'MainPage',
component: MainPage }) },1000); } render() { return( <Image source={require(
'./img/hello.jpg') } style={styles.backimagestyle}/> ); } } const styles =
StyleSheet.create({ backimagestyle: { flex: 1, justifyContent: 'center',
alignItems:'center', width: null, height: null, resizeMode: 'cover' } });
//mainpage.js
'use strict' import React, { Component, Image, StyleSheet, View, Text, } from
'react-native' export default class MainPage extends Component { render() {
return ( <View> <Text> hello world </Text> </View> ); } }

Technology
©2019-2020 Toolsou All rights reserved,
element-ui+vue-treeselect Verification of drop down box element ui Drop down box search function ( Essence )2020 year 8 month 2 day TypeScript The use of generics Spark SQL- programming ( Essence )2020 year 8 month 13 day C# Basic knowledge windform Realize two color sphere Hackbar Using the tutorial SpringBoot JpaRepository Database addition, deletion, modification and query Vue Get the text and option value of the drop-down box Programmer and architect Hua Shan MySql sentence Recursively find all subordinate departments of an input department