I am fetching data from Forebase DB and storing them locally using “Own Table Data Source” then displaying them using Dataviewer. Upon clicking it should switch screens.
The data is for orders, and it will switch to order details screen upon clicking the item in the Dataviewer.
Currently, It fetches the Data normally from the Firebase and at the first glance it is working as it is displaying them correctly using the Dataviewer. However, when I click it didn’t switch “navigate”, so I started to investigate and it is when I found that only one of the list of data is actually stored (using number of rows in the Table). It is unpredictable as the number of rows stored is changing randomly. Each time I fetch a new list I delete the rows from the Table (System Table - My Orders Meta Data) and then fetch the data and store them.
I have checked multiple of sources for this but nothing is leading anywhere to a solution. Find attached the screens of the actual behaviour of the System and the logic blocks.
Firstly, Deleting What is in the Local DB
Then Fetch the list of Data from Firebase DB and Store them in the Dataviewer
The Item Click in the Dataviewer which shows the Selected Row ID (Which is different for each selected row in the Dataviewer, even though the number of rows in the Table is 1 in this scenario)
Once it is opened this is the list of Orders that are fetched from the Firebase DB
Upon Selecting an Item this is the rowID displayed which varies from each row to another
Then the number of rows actually stored in the Table (Local table):
Finally if I refrech manually this is the only order remaining in the Dataviewer