Google Books demo
As a result from a Books search, the app should:
- Create a search keyword input screen with edit box and search button.
- When the search button is pressed query the API and display a nicely formatted list of returned books, on a separate screen, showing small thumbnail, title, authors, and publish date (any books without a thumbnail should show a placeholder image). The list should be paginated in groups of 20 items (Show a "Load More" button at bottom of list that when clicked appends the next set of items to the list).
- When a searched list item is clicked, launch a nicely formatted details view that shows the details above plus the description and link to the webLinkReader (see returned json data from API) that when clicked opens the link so user can read the book. It is desirable to make it seem as though the launched external webpage is part of the native app.
This demo uses the Gradle build system.
- Download the demo by cloning this repository.
- In Android Studio, create a new project and choose the "Import Project" option.
- Select the root directory that you downloaded with this repository.
- If prompted for a gradle configuration, accept the default settings.
- Alternatively use the gradlew build command to build the project directly.
- Use of the DataBinding Library can often require to rebuild the project in order to generate Implementation classes.
An Instrumented test has been recorded to demonstrate the MainActivity functionality Instrumented tests much be run on a physical device
- James Campbell - Android Developer -