随笔分类 -  RN

 
React native 中 SectionList用法
摘要:一、代码 二、效果图 阅读全文
posted @ 2018-02-07 11:09 六& 阅读(437) 评论(0) 推荐(0) 编辑
React native 中使用Fetch请求数据
摘要:一、代码 二、效果图 阅读全文
posted @ 2018-02-07 10:58 六& 阅读(239) 评论(0) 推荐(0) 编辑
React native中使用XMLHttpRequest请求数据
摘要:一、代码 二、效果图 阅读全文
posted @ 2018-02-07 10:54 六& 阅读(655) 评论(0) 推荐(0) 编辑
实现在WebView中返回上一级
摘要:代码 1 import React, {Component} from 'react'; 2 import {Platform, View, WebView, BackHandler,Dimensions,StyleSheet,Text,ToastAndroid} from 'react-native'; 3 4 var WEB_URL = "https://www.ly.com/Fl... 阅读全文
posted @ 2018-02-07 10:49 六& 阅读(1631) 评论(0) 推荐(0) 编辑
DatePickerAndroid用法
摘要:一、代码/** * Sample React Native App * https://github.com/facebook/react-native */ 'use strict'; import React, {Component} from 'react'; import{ StyleSheet, Text, View, DatePickerAndr... 阅读全文
posted @ 2018-02-07 10:42 六& 阅读(272) 评论(0) 推荐(0) 编辑
React Native - 网页组件(WebView)的使用详解
摘要:一、WebView组件介绍 使用 WebView 组件我们可以通过 url 来加载显示一个网页,也可以传入一段 html 代码来显示。下面对其主要属性和方法进行介绍。 1,属性介绍 source:在 WebView 中载入一段静态的 html 代码或是一个 url(还可以附带一些 header 选项 阅读全文
posted @ 2018-01-09 10:27 六& 阅读(848) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示