RecyclerView in React Native: notifyItemInserted() and notifyDataSetChanged() have no effect
- 阅读更多 关于 RecyclerView in React Native: notifyItemInserted() and notifyDataSetChanged() have no effect
问题 I am experimenting with integrating a Firebase-backed RecyclerView in a React Native app. With hardcoded data it works well, but upon inserting rows loaded dynamically and calling either notifyItemInserted() or notifyDataSetChanged() on the RecyclerView.Adapter, the RecyclerView itself does not reflect the change. This manifests as an initial blank view until the app's refresh button is tapped, which has the sole effect of re-rendering the RecyclerView from the React Native side, or until