
10-30-2010, 06:00 AM
|
| Banned Device(s): SGS2, PB16, 9810 Carrier: att | | Location: us Join Date: Jan 2009 Posts: 1,596 Likes Received: 84
Thanked 160 Times in 109 Posts
| |
You would store the words in arrays "wordArray", then have an output template. For each word in the array, you would have to call the output class which contains the "flashcard template".
To display another word every time you click a button, you would have to output the following word (array index increase) in the wordArray array.
You would have to create another array for the bookmarks "bookmarkArray", the bookmark button would just copy the word from wordArray to bookmarkArray, then another button for outputting each word in bookmarkArray array using the output class. Then another template for showing a list of the bookmarked words, which loops through the bookmarkArray.
You either need to make the array size flexible (expand or shrink) manually or... i think the arraylist class can do that for you. Or just set a fixed size for the array and have as many words as the array size.
Some sort of crap like that...
Last edited by gbsn; 10-30-2010 at 06:03 AM.
|