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.
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
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:
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:
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.
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,