New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing gets render. #1
Comments
@susylPearl Why do you wrap PhotoView in Image? PhotoView is image itself. |
ok i got what you said, but when i implemented it correctly, and when i run it by react-native run-android. it gives error in java file as cannot find symbol in new PhotoviewPackage(). import me.alwx.reactnative.PhotoViewPackage; doesnot exist |
@susylPearl I am sorry, it was an error in Readme.md file. You should use another package name: Thanks for reporting and, please, close the issue if everything is fine now. |
By the way, it is much easier to use |
when i have done everything right also but got render nothing. what is problem? my code is below: `'use strict'; import React, {Component} from 'react'; import JResource from './javra-resource'; import Image from 'react-native-transformable-image'; var IMGS = [ export default class JavraBasket extends Component { constructor(){ }
<View style={{flex:1, backgroundColor:'black', marginTop:20}}>
} |
@susylPearl Difficult to say from this extract of code. |
when i implemented photo view library as:
<Image style={{flex:1}}> <PhotoView source={{ uri: "http://c1.staticflickr.com/8/7412/27488731000_96ad0b9740_k.jpg" }} minimumZoomScale={0.5} maximumZoomScale={3} androidScaleType="center" onLoad={() => console.log("Image loaded!")}/> </Image>
Nothing gets render what had happened, or my syntax are wrong.
The text was updated successfully, but these errors were encountered: