React Native - getting all data from a ListView DataSource

It is currently not possible to retrieve all the data dataSourcewith a single function call.

The only way to get all your data is to iterate over each row and section index index and call getRowData(sectionIndex, rowIndex).

Now I get all my data by referring to it _dataBlob, but I'm not sure if this is the best approach. Is there a function that allows me to get all the data dataSource?

+4
source share

Source: https://habr.com/ru/post/1658246/


All Articles