Try Spinner in app inventor 2

now, in this page… we will talk about spinner. in java dekstop (J2SE), spinner like combo box, the value answer can be choosed. After choose the answer, the value will be catched in the variable of spinner. In the previous page, we talk about if condition, the preview shows a view component especially spinner. so, in this page, we will view again that image to reader and add a new information properties of spinner. here the preview :


in the right side of screen1, there is a component’s widget that fill an structure of component and a spinner componen can view a properties if you click the spinner’s component (it shows in properties’s widget). The spinner value can fill in the “ElementsFromString” textfield. The value must be spaced with coma. In “Prompt” fill, it just give an information of spinner like header name of spinner.


Result in emulator :


Here the “Block” code :



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