# Liste viewer : action after selecting an element of list?

**URL:** <https://community.thunkable.com/t/liste-viewer-action-after-selecting-an-element-of-list/564978>\
**Category:** Questions about Thunkable X\
**Created:** [May 7, 2020, 12:24am UTC](https://community.thunkable.com/t/liste-viewer-action-after-selecting-an-element-of-list/564978 "2020-05-07T00:24:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KOUAME](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kouame/32/31942_2.png) [@KOUAME](https://community.thunkable.com/u/KOUAME)\
**Post date:** [May 7, 2020, 12:24am UTC](https://community.thunkable.com/t/liste-viewer-action-after-selecting-an-element-of-list/564978/1 "2020-05-07T00:24:52Z")

</div>

I want to know how to have activity after selecting an element of list ?

---

<div class="post-metadata">

**Author:** ![Patrick\_Elisha](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/patrick_elisha/32/68464_2.png) [@Patrick\_Elisha](https://community.thunkable.com/u/Patrick_Elisha)\
**Post date:** [May 7, 2020, 8:34am UTC](https://community.thunkable.com/t/liste-viewer-action-after-selecting-an-element-of-list/564978/2 "2020-05-07T08:34:53Z")

</div>

There is a block listviewer itemclick as in the image below:  
 ![listviewer_item_click](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/e/bec162b7a223c984a2a11d98ff957cf4fc30dda9.png)  
Do whatever you want to do within the block. Item is the selected Item. You can also reference the index of the selected item

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [May 7, 2020, 11:19am UTC](https://community.thunkable.com/t/liste-viewer-action-after-selecting-an-element-of-list/564978/3 "2020-05-07T11:19:22Z")

</div>

Yes! At a basic level, this is the logic to use with a list picker to make various actions happen

If item = X  
Do this thing  
Else if item = y  
Do something else

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:29am UTC](https://community.thunkable.com/t/liste-viewer-action-after-selecting-an-element-of-list/564978/4 "2024-11-08T11:29:23Z")

</div>


