Skip to content

Using React Native views in RecyclerView #9549

@martinalderson

Description

@martinalderson

We are trying to place React Native views (with initialprops) into recyclerview.

Everything seems to load but the react native view doesn't show unlless we force size, then get crash:

IllegalViewOperationException: ViewManager for tag 871 could not be found

and then when we add another one we get a crash:

com.facebook.react.uimanager.IllegalViewOperationException: Trying to remove a view index above child count 0 view tag: 1
detail: View tag:11
children(0): [
],
indicesToRemove(1): [
0,
],
tagsToDelete(1): [
3,
]

We are using RN version 0.23.1 - would upgrading the version help? We use a similar approach on iOS and it is flawless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions