public static ArrayList<StoreItem> getAllStoreItems(Context c, boolean updateFromLocal) { if (allStoreItems == null) { allStoreItems = new ArrayList<StoreItem>(); StoreItem item = new StoreItem(); item.id = ID_GAMES; item.title = "No Games"; item.isPurchased = false; item.showOnStore = true; item.googleSKU = "no_games"; allStoreItems.add(item); } if (updateFromLocal) { // update with purchased allStoreItems = readPurchasedItems(allStoreItems, c); } return allStoreItems; }