Skip to content
This repository was archived by the owner on Apr 16, 2018. It is now read-only.
This repository was archived by the owner on Apr 16, 2018. It is now read-only.

Rendering artifacts with provided example - Android #8

@faustinoribeiro

Description

@faustinoribeiro

On Android version 5.0 (on Asus ZenFone 2), running the provided example results in rows not being rendered at times (either at the beginning of the list or anywhere in the middle).

The only solution I found to get the example to work is to remove the wrapping View component.

render() {
    return (
      // Remove this: <View style={{ flex: 1 }}>  
        <NativeListview
          style={{ flex: 1 }}    // add this
          renderRow={this.renderRow}
          numRows={dataSource.length}
          rowHeight={50}
        />
      // Remove this: </View>
    );
  }

I am not sure if I am doing something wrong or if it's a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions