Good morning,
I can not go through an ArrayList that is made up of Items. Inside these Items I keep different information such as game name, launch date, URL, etc ...
With a foreach loop I can enter each Item, but I can not get specific information at this point, for example the name of the game. The ArrayList I created it in the following way:
ArrayList<Item> games = new ArrayList<Item>();
And I intend to go through it as follows:
for (Item game: games) {
//código para acceder a cada campo del Item.
}
I have searched for information about the Items but I have not found anything, maybe it's called another way.
Inside the Item I keep information for each game, for example:
Name: Subnautica (Game Preview)
Type: ---
Descripcion Castellano: Este juego es un trabajo en curso...
Descripcion Pegi:
Edad Pegi: 16+
Microsoft Store ID: bx3s1q5dvhrd
Microsoft Store URL: subnautica-game-preview/bx3s1q5dvhrd
Nota: 4.0
Pertenece a: -
Tipología de juego: Juego,