How do you change selection color for listviews

Could someone help finish these lines

The question is, when should that color be green and when should it be red? Depending on that, you have to set the if conditions accordingly

Taifun

So basically it’s a true or false question positioned like this

the answer is true

You only need to give me the answer to the first I can figure the rest on my own

if Listview1.Selection = "true"
then...

Taifun

Could you show me I didn’t understand well I did understand but there aren’t any blocks that has the puzzle piece like part that can connect two blocks itself and another

you can find the Listview1.Selection block in the Listview drawer
the = block in the Logic or Math drawer
and for the "true" block you use an empty text block from the Text drawer and write the text true inside, that's all

let me suggest you to do the tutorials to learn the basics

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like

Tysm