I want to know that what was the blocks for it

I use 2 list view ,one text box ,and 1 button in one screen

I want’s what was the block for it​:point_down::point_down::point_down:

"When button click add text_box text in list_view1 and clear text_box text,

when second time button click add text_box text(new text) in list_view2 and clear the text_box text,

when third time button click add text_box text(new text) in list_view1 and clear the text_box text,

when forth time button click add text_box text(new text) in list_view2 and clear the text_box text… … And continue this process,
means 1,3,5,7,9… Text add in list_view1 elements and 2,4,6,8… Text add in list_view2 elements

Make a global variable click=0
When button 1 clicked
If ’ global click = 1 ’
Then do something and set click = click+1

Or…the easiet one
If ‘click/2=0’
Then do something
Else do something
And set click=click+1