Lesson Weekend

This week we are going to learn how to implement web services and custom fragments in Android!

First, we'll dive into backend web services by using OkHttp and Signpost to assist in building and authenticating requests to the Yelp API. This will allow us to pull data on local restaurants in any zipcode into our ongoing MyRestaurants project!

Then we'll learn how to parse through an API's JSON response, select only the information we require, and build objects out of it using constructors and data models.

Along the way we'll also refactor and organize our project with subpackages, implement a tool called Picasso to handle displaying images, and build our own custom layouts and adapters to display a wider variety of information within our app.

We'll even learn how our app can interact with other applications using something called implicit intent. Our MyRestaurants app will really begin to come together this week!

Independent Project Objectives

At the end of the week, your independent project will be reviewed for the following objectives:

  • Implement OkHttp to retrieve data from a backend.
  • Create a data model to store the data.
  • Display a list of information using a RecyclerView, OR use fragments and a PagerAdapter to swipe through views. (Or both.)
  • Incorporate at least one implicit intent.
  • Continue using good coding practices, especially indenting properly, making logically separate Git commits, including a README, and removing commented-out code and logging statements before committing.
  • Required functionality is present by the 5:00pm Friday deadline.
  • Project demonstrates understanding of this week’s concepts. If prompted, you can discuss your code with an instructor using correct terminology.