Use Listview and ListPicker

Now we will try another component from app inventor 2. There are listview and listpicker. Listview is like combo box in J2SE or spinner in app inventor 2. the function of listview is like spinner but it is not open another screen, it just in the same screen. if you want to catch a value from listview, you can get and view that in label. Different with spinner, spinner’s action can make basic interface is lock after the spinner is choose. About listpicker, when listpicker is click, there is a value that can be choosed in listpicker‘s screen. After choosed value, it will return to first listpicker button, and the value will be filled in that listpicker button. Here the example :

This slideshow requires JavaScript.

Here the block code :

  1. ListView

  2. ListPicker

    ListPicker Block


    Final Block ListPicker

  3. Slider

    Slider Block


    Final Slider Block


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s