蓝枫

时间不会辜负每一个平静努力的人,可是我不努力!

React Native中Modal的使用

DialogModal.js /** * Created by zhoujian on 2019/4/9. */ import React, {Component} from 'react'; import { StyleSheet, Text, View, ...

2019-04-11 11:08:30

阅读数 31

评论数 0

组件和API

/** * Created by zhoujian on 2019/4/9. */ import React, {Component} from 'react'; import {Image} from 'react-native'; export default class Banana...

2019-04-10 19:46:02

阅读数 22

评论数 0

电影列表

SampleAppMovies.js /** * Created by zhoujian on 2019/4/9. */ import React, {Component} from "react"; import {Image, FlatList, StyleS...

2019-04-10 19:42:34

阅读数 20

评论数 0

网络

FetchExample.js /** * Created by zhoujian on 2019/4/9. */ import React, {Component} from 'react'; import {FlatList, ActivityIndicator, Text, Vie...

2019-04-10 19:36:42

阅读数 22

评论数 0

使用长列表

FlatList FlatListBasics.js /** * Created by zhoujian on 2019/4/9. */ import React, {Component} from 'react'; import {FlatList, StyleSheet, Te...

2019-04-10 19:31:50

阅读数 20

评论数 0

使用滚动视图

Scrolled.js /** * Created by zhoujian on 2019/4/9. */ import React, { Component } from 'react'; import { AppRegistry, ScrollView, Image, Text }...

2019-04-10 19:22:51

阅读数 17

评论数 0

处理触摸事件

显示一个简单的按钮 ButtonBasics.js /** * Created by zhoujian on 2019/4/9. */ import React, {Component} from 'react'; import {Alert, AppRegistry, Button...

2019-04-10 19:17:14

阅读数 9

评论数 0

处理文本输入

PizzaTranslator.js /** * Created by zhoujian on 2019/4/9. */ import React, {Component} from 'react'; import {AppRegistry, Text, TextInput, View} ...

2019-04-10 17:04:24

阅读数 7

评论数 0

高度与宽度

指定宽高 FixedDimensionsBasics.js /** * Created by zhoujian on 2019/4/9. */ import React, {Component} from 'react'; import {AppRegistry, View,Styl...

2019-04-10 16:59:38

阅读数 16

评论数 0

State(状态)

BlinkApp.js /** * Created by zhoujian on 2019/4/9. */ import React, {Component} from 'react'; import {Text, View} from 'react-native'; import Bl...

2019-04-10 16:49:24

阅读数 8

评论数 0

Props(属性)

Bananas.js /** * Created by zhoujian on 2019/4/9. */ import React, {Component} from 'react'; import {Image} from 'react-native'; export default...

2019-04-09 20:50:01

阅读数 13

评论数 0

示例教程:Hello World

App.js /** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow * @lint-ignore-every XPLATJSCOPYRIGHT1 *...

2019-04-09 20:42:47

阅读数 18

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭