Project 1 - Flickster
Flickster shows the latest movies currently playing in theaters. The app utilizes the Movie Database API to display images and basic information about these movies to the user.
Time spent: 24 hours spent in total
User Stories
The following required functionality is completed:
- User can scroll through current movies from the Movie Database API
- Layout is optimized with the ViewHolder pattern.
- For each movie displayed, user can see the following details:
- Title, Poster Image, Overview (Portrait mode)
- Title, Backdrop Image, Overview (Landscape mode)
The following optional features are implemented:
- User can pull-to-refresh popular stream to get the latest movies.
- Display a nice default placeholder graphic for each image during loading.
- Improved the user interface through styling and coloring.
The following bonus features are implemented:
- Allow user to view details of the movie including ratings and popularity within a separate activity or dialog fragment.
- Allow video trailers to be played in full-screen using the YouTubePlayerView.
- Overlay a play icon for videos that can be played.
- Clicking poster images start a separate activity that plays the video immediately.
- There is a detail page that shows ratings and a snapshot of that movie.
- Applied the popular Butterknife annotation library to reduce boilerplate code.
- Applied rounded corners for the poster or background images using Picasso transformations
- Replaced android-async-http network client with the popular Volley networking libraries.
Video Walkthrough
Here's a walkthrough of implemented user stories:
Notes
Describe any challenges encountered while building the app.
This was the first project I worked on for my Android Development class hosted by CodePath.
I learned a lot about Views and Layouts while working on this project. Some of the issues I encountered was :
- It was the first time I tried running my app on a device (Nexus 5) as against an emulator and I ran into multiple driver issues.
- Also, the new Android Studio 2.2 has a lot of new features and settings to it which needed to be taken care of while working on this app.
- Adding alternate layout resourses like a separate landscape view to the existing app was something new I learnt in this app.
- I also used ViewHolder pattern which is really an efficient way of handling multiple views being loaded in a listview.
- Tried my hands at Youtube Player for the first time with overlay play icon on the poster image and it was quite challenging to get the details right.
- Working with the ButterKnife library was very simple and straight forward although I still have some unresolved issues for adding @BindDrawable
and @BindColor which I will continue to work on.
- I also tried using the Volley network library, but it had issues so haven't completed that yet.
Open-source libraries used
License
Copyright 2016 Aditi Lonhari
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.