My question is: when i put one label to get the information from one cell example: “Essência” he return “#My Beirut”
I can use this cell returned to get another information from the same line? example: Return the “marca” and “sabor 1” (in this specif case will be Zomo and tutti Frutti) ?
The first thing I do is get 30 out of the 100 names from Airtable, and display them in the ListViewer:
Then when one of the names in the ListViewer is clicked, the index of the clicked items is stored in this rowNumber variable
Screen2
On Screen2 the rowNumber variable is used to get a row of data from Airtable and once this is done all the labels are populated with the relevant data.
I just have 2 problems here…
First its change “when any button click” to “buttons cloned click” because will have other buttons in this screens to filter the products…
And second is when i click in the image, name or rating will go other screen to show info´s about this products… so i can get other info´s from this product because i put all infos from it in one row in the airtable…
I don´t know how i get all this informations based in the button click from screen 1…
I think if i get the name on screen 1 and put it on screen 2 i can get all the other informations from airtable based only in the name from the product… but now i have doubts if that would work
I think this hint can be help… in the first image i will put 6 labels invisible to get information from “Sabor 1-6” just because in the text_input when anyone write the sabor he just show all from this sabor
Just to know sabor = flavor
So i can get all information in screen 1 and just put this informations in screen 2
All blocks from screen 1 to get all informations… i just need in screen 2 he know what button clicked in screen 1 and get all information about the right product
Have 3 button, when i click in the first button (image), he go to screen2 and give info´s from the first item from the list, when i click in the second button (name from the object) he go to screen 2 and give info´s from the second item and so on
This is the list
So to solve this, i change all this buttons for image and labels and put a cover button inside this 3 and now everything is fine
Again thanks so much for help me @renren66 =)
The last problem from this case is about the image…
In screen 2 he never show the image… have special conditions to get all images from airtable, so i think i need diferent way to get this in screen 1 and share in the screen 2.
Hey Kartik,
even learning in your topic, here I still have problems, I just can not do … I changed some blocks but then only numbers appeared instead of the correct information, so I went back to using the blocks that @renren66 suggested … I tried to continue and even managed to send the image, but it was never the same as the list, was the wrong image in case.
Why the hell I can not understand this logic
@Yukold, one issue that I see is that in your function getimagefromlist, you should be referencing the function’s 'x' parameter (which you can find in the Variables category) rather than the 'app imagecell' variable.
I owe you a thousand apologies, I did it wrong and I believe I missed attention, I was changing things on screen1 and the right thing was on screen 2 … I’m very dumb …
However …
I spent over 6 hours trying to find the solution to this problem (simple and stupid by the way) and now I could find …
Image below how it looked … I don’t know why it worked, but it worked …
I just hate it when things go well and I don’t know why …