meliorence / meliorence/react-native-image-gallery

Images not Load or Displaying in android.

Open
#93 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
717
Forks
298
PR merge metrics
No merged PRs in 30d

Description

Not showing in android but iOS showing fine.

Here this is my code:

<Content style={{ backgroundColor: 'rgba(0, 0, 0, 0.7)', flex:1 }}>
           <View style={{ flex: 1 }} >
            {
            this.state.animating == true ? <View style={{ flex: 1, justifyContent:'center', backgroundColor:'green' }}>
            <Text style={{fontSize:18, fontWeight:'bold', color:'grey'}}> Please Wait it's Loading Calender ......</Text>
            </View> :  
            <View style={{ flex: 1 }} >
             <Gallery
                  style={{ flex: 1, backgroundColor: 'black' }}
                  images={this.state.images}
                  errorComponent={this.renderError}
                  onPageSelected={this.onChangeImage}
                  initialPage={0}
                />
                { this.galleryCount }
                { this.caption }
                </View>}
               
            </View>
        </Content>

Getting like this in android:
screen shot 2018-05-22 at 6 28 54 pm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android behavior with the provided Content, View, and Gallery usage, then inspect how this image data is rendered on Android compared with iOS. Done means the images display in the Android gallery as they do on iOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.