List viem after picking

In my app I have two variables = screen themes-theme and I do a search. After choosing I want to go to the screen-theme of that theme I chose. What now?

1 Like

Is this what do you expect?

when ListView1.AfterPicking
do
   set theme to ListView1.Selection
   set screenName to join "theme-" theme
   open another screen screenName

Almost solved; We have a problem: all the screens are in the same “Screen3” and they are visible false and will become true when you make the choice in the list.

Set all VA into a list and whenever user picks an item just use select list item list from VA list with selection index

Unfortunately, as you said: the app opens all verticals at the same time. I would like it to open a specific vertical after choosing.


is correct?

Initially set all VA visible to false and try this

But why are you passing the VA to another screen?

It’s true; you don’t need to go to another screen, it can be on the same one and use visibility.

I put them all on the same screen 2. but:
Property setter was expecting a com.google.appinventor.components.runtime.
VerticalArrangement component but got a YailList instead

after choosing an item, i need to make the search va visible false.

I found the solution. See:

thank you.

This is lengthy process so i suggested you the very smart work with procedure, the logic.

When an item is selected from listpicking
Hides all VA arrangement
Make Visible the VA item from the yailist for the clicked item index