Book List
Book Details
The app does the following:
- Search a list of books using the OpenLibrary Search API
- Display the list of books with their cover images and details
- Replace ActionBar with Toolbar
- Use SearchView to search for books with a title
- Show ProgressBar before each network request
- Add a detail view to display more information about the selected book from the list
- Use a share intent to recommend a book to friends
To achieve this, there are five different components in this app:
BookClient
- Responsible for executing the API requests and retrieving the JSONBook
- Model object responsible for encapsulating the attributes for each individual bookBookAdapter
- Responsible for mapping eachBook
to a particular view layoutBookListActivity
- Responsible for fetching and deserializing the data, configuring the adapter and providing a search interfaceBookDetailActivity
- Responsible for providing book detail view and share intent.
This app leverages two third-party libraries:
- Android AsyncHTTPClient - For asynchronous network requests
- Picasso - For remote image loading