1. 2015 is going to be a great year for Android! Why wait??
    Samsung Galaxy Note 5 | Samsung Galaxy S6 | HTC One M9
  2. New Forum Created: Samsung Gear VR!

Help with list app


  1. DanielSvendsen

    DanielSvendsen New Member

    Hi!
    I

    Advertisement
    :
  2. appinventor

    appinventor Active Member

    Yes, Daniel, I think I understand what you are trying to do. But I don't think you need a list to do this. You just need a button component, which you mentioned and a label component. Let's say the label is called total. In the screen designer, give it a value of 0. Then in the blocks editor, drag out the buttonname.click block and put the blocks [set total.text to][ [ total.text] + [1] ] inside the click block. That would take 4 blocks.
    Each time the button is pressed the label's value is increased by 1.
Loading...

Share This Page