Home | History | Annotate | Download | only in com.example.android.activityscenetransitionbasic

Lines Matching refs:Item

20  * Represents an Item in our application. Each item has a name, id, full size image url and
23 public class Item {
28 public static Item[] ITEMS = new Item[] {
29 new Item("Flying in the Light", "Romain Guy", "flying_in_the_light.jpg"),
30 new Item("Caterpillar", "Romain Guy", "caterpillar.jpg"),
31 new Item("Look Me in the Eye", "Romain Guy", "look_me_in_the_eye.jpg"),
32 new Item("Flamingo", "Romain Guy", "flamingo.jpg"),
33 new Item("Rainbow", "Romain Guy", "rainbow.jpg"),
34 new Item("Over there", "Romain Guy", "over_there.jpg"),
35 new Item("Jelly Fish 2", "Romain Guy", "jelly_fish_2.jpg"),
36 new Item("Lone Pine Sunset", "Romain Guy", "lone_pine_sunset.jpg"),
39 public static Item getItem(int id) {
40 for (Item item : ITEMS) {
41 if (item.getId() == id) {
42 return item;
52 Item (String name, String author, String fileName) {