Hello,
Gridview
I have used the GridView layout just like in: GridView | Android Developers
What I want to implement is a way to update the images present in this grid when an item is clicked. The array I'm writing the images based on is updating, but my View is not changing. It's still painting the original images regardless of the new contents of the array. How do I make it dynamically update the image it displays?
Text Files
I was wondering if anyone could link me to a sample program on how to read line-by-line from a text file.
Randomize
Lastly, is there an inbuilt function to randomly a number select a number in a specific range?
Thanks in advance, and sorry for the slightly basic questions, I'm just starting out =]
Gridview
I have used the GridView layout just like in: GridView | Android Developers
What I want to implement is a way to update the images present in this grid when an item is clicked. The array I'm writing the images based on is updating, but my View is not changing. It's still painting the original images regardless of the new contents of the array. How do I make it dynamically update the image it displays?
Text Files
I was wondering if anyone could link me to a sample program on how to read line-by-line from a text file.
Randomize
Lastly, is there an inbuilt function to randomly a number select a number in a specific range?
Thanks in advance, and sorry for the slightly basic questions, I'm just starting out =]