Let's review how our app will work. A user will select a cuisine and location. Then, the location is passed to the Explore view. The user will get restaurants from the selected location, which have been filtered by the selected cuisine.
If this were online, we would pass the location to the API, and the API would return the JSON data. As you can see, we are doing the same thing here. When you eventually deal with an API, the transition to working with online data will be seamless.