hi i want to render the data from the firestore in a react native app.client asked me to do render the data in folderwise .where it contains folder inside folder and files with folder.when user clicks the pdf files it pdf viewer should open .i implemented pdf viewer functionlity .for now i want to know how to render the data folderwise and when clicked on folder it needs to open data inside the folder ,if we click on file it needs to render pdf .please help me im not ettin how to do this.
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
2
Answers
Use the
FlatList
To you second question: