Populate ListView from Firebase Database using Javascript


I tried the examples given in the plugin link but it’s too complicated for me as a beginner.

for Realtime DB
when online I want to query a path (e.g /advisory), order by date and store it locally. Then I want to display the locally stored data in a listview array with the latest date on top.When offline, it still displays the locally stored data.

how do I do that? I use JS.
are there any examples for this?


@Eddy can you help me with this? Thanks!