AppInventor: Membuat Daftar / List dengan Tombol Previous
Jump to navigation
Jump to search
Sumber: http://www.appinventor.org/content/howDoYou/ListNav/prev
Example 2. How do you add a previous button to make the slideshow go backwards? example 3
This sample is similar to the “Next” button code above but now the index variable decrements and the slideshow goes backward. The if-test checks if the index is greater than 1, because if it is already 1, the first picture is being displayed and we can’t go further back.