Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 9 commits ahead of nidhi1608:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
app fixing json issues Feb 16, 2015
gradle/wrapper initial commit Feb 6, 2015
.gitignore Update .gitignore Feb 8, 2015 Update README Feb 8, 2015
build.gradle initial commit Feb 6, 2015 initial commit Feb 6, 2015
gradlew initial commit Feb 6, 2015
settings.gradle initial commit Feb 6, 2015

Book Search Demo

Android app that leverages the OpenLibrary API to search books and display cover images. It also allows you to recommend books to friends. See the Book Search Tutorial on our cliffnotes for a step-by-step tutorial.

The app is composed of two screens. The first screen displays a list of books, in which, each book is described by its title, author and cover photo. After a user selects a book from the list, a second screen appears displaying additional details about the book, including the publisher and no. of pages.

Book List


Book Details



The app does the following:

  1. Search a list of books using the OpenLibrary Search API
  2. Display the list of books with their cover images and details
  3. Replace ActionBar with Toolbar
  4. Use SearchView to search for books with a title
  5. Show ProgressBar before each network request
  6. Add a detail view to display more information about the selected book from the list
  7. Use a share intent to recommend a book to friends

To achieve this, there are five different components in this app:

  1. BookClient - Responsible for executing the API requests and retrieving the JSON
  2. Book - Model object responsible for encapsulating the attributes for each individual book
  3. BookAdapter - Responsible for mapping each Book to a particular view layout
  4. BookListActivity - Responsible for fetching and deserializing the data, configuring the adapter and providing a search interface
  5. BookDetailActivity - Responsible for providing book detail view and share intent.

See the Book Search Tutorial on our cliffnotes for a step-by-step tutorial.


This app leverages two third-party libraries:

You can’t perform that action at this time.