Listview of Firebase Child

Hi all!

Im trying to set up a simple list view of a child in my firebase dataset.
Im having trouble getting it to work, ive tried all the blocks that are in other questions asked about listview and firebase on here but I cant seem to get it to work.

Can someone show me a simple example of how to get it to work?

What I need to show in the listview would be under appname/UID/loans/ like in the image below.

What in trying to show in the listview is:

Thanks!!!

set firebase url to https://firebaseurl/loans,
set firebase bucket to empty
get all tags

when got tags,
set veriabel tag to get value
for each items in the list(got tags)
set firebase bucket to get item,
get value tag Cuotas
get value tag Montotal
get value tag Producto
get value tag valocuota

when got value,
if get tag = Cuotas
then add item to list ( veriable list Coutas)
item get value
if get tag = Montotal
then add item to list ( veriable list Montotal)
item get value
if get tag = Producto
then add item to list ( veriable list Producto)
item get value
if get tag = valocuota
then add item to list ( veriable list valcuota)
item get value
and then set items to list view as you want to show them

1 Like

Hi @ImranTariq, thanks! this worked!

Ive got one last issue and I think im done bothering you for a while haha.

I get listview1 with the transaction numbers, when I select one of the transactions I go to listview2 where I see the details, but right now I am getting all the transaction details, I just want to get THAT transactions details:

Transactions in listview1:

Transaction details in listview2 (now im getting all the transactions, I need to get ONLY that transactions details):

Thanks!!

set listview 1 elements to get tags,

when list view 1 after selected
set veriable list to create empty list
set firebase bucket to get selection

when got value,
if get tag = Cuotas
then add item to list ( veriable list )
item get value
if get tag = Montotal
then add item to list ( veriable list )
item get value
if get tag = Producto
then add item to list ( veriable list )
item get value
if get tag = valocuota
then add item to list ( veriable list )
item get value
set list view 2 elements to get variable list

Thanks for the quick response! I cant seem to get it right, kinda got lost with the last explanation, tried it out but it still does the same, these are the blocks:

Can you see where ive gone wrong?
Thanks!

try like this,

Hi @ImranTariq thanks for the reply.
I´ve tried the blocks exactly like this, and a few other ways and I cant seem to make it work.

Any other tip of something I might be doing wrong?

Thanks!

hi @ImranTariq were these replies for my question?

The issue I have with that is that because they are in app transactions I need to keep all that transactions info together, (product, amount, installment amount, installment plan) because I need to have control of each transaction in the database, if I put product in one node, amount in another node, etc, at some point I might lose track of some info.

any other with the nodes as I hace them set up?

Thanks!

send me your aia in pm, i will check it, because now i am confused with all these posts about firebase data, every user is setting with different methods, so i get confused which user using which methods,

OK I will thanks!

here it is, try this ,

blocks - 2019-12-11T105232.599

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.