Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
app
Android原生项目移植 ReactNative.md
Navigator.js
README.md
Redux 学习笔记.md
Text 组件练习.js
image 组件.js
打包调试.md
携程界面.js

README.md

ReactNative 学习笔记

  1. folly::toJson: JSON object value was a Nan or INF

移出项目中 style 包含:" alignItems: 'center' "

  1. React-Native 引导页已经背景图 全屏覆盖展开
    var {width,height,scale,fontScale} = 
    Dimensions.get('window');

用法:

    <Image
        style={{flex: 1, width: width, height: height}}
        source={require('../img/loading_page.png')}
        defaultSource={require ('../img/loading_page.png')}
      />

React Native 代码规范

ReactNative存储

AsyncStorage

ReactNative IDE配置

VsCode 配置

Android 项目中嵌入 ReactNative 模块

Android 项目中嵌入 ReactNative 模块

License

Copyright 2016 AllenCoder

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.