-
React Native中使用的Android代码-Zoom Layout
资源介绍
react-native-zoom-layout
Getting started
$ npm install react-native-zoom-layout --save
Mostly automatic installation
$ react-native link react-native-zoom-layout
Manual installation
Android
Open up android/app/src/main/java/[...]/MainApplication.java
Add import co.twinger.zoomlayout.RNZoomLayoutPackage; to the imports at the top of the file
Add new RNZoomLayoutPackage() to the list returned by the getPackages() method
Append the following lines to android/settings.gradle: include ':react-na