MyFlixRepo
Project 1 - Flixster
Flixster 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: 6 hours spent in total
User Stories
The following required functionality is completed:
- [X] User can scroll through current movies from the Movie Database API
The following optional features are implemented:
- [X] For each movie displayed, user can see the following details:
- [X] Title, Poster Image, Overview (Portrait mode)
- [X] Title, Backdrop Image, Overview (Landscape mode)
- [X] Layout is optimized with the ViewHolder pattern.
- [ ] User can pull-to-refresh popular stream to get the latest movies.
- [X] Display a nice default placeholder graphic for each image during loading.
- [ ] Improved the user interface through styling and coloring.
- [X] Allow user to view details of the movie including ratings and popularity within a separate activity or dialog fragment.
- [X] Made separate activity scrollable to fit longer descriptions
- [ ] When viewing a popular movie (i.e. a movie voted for more than 5 stars) the video should show the full backdrop image as the layout. Uses Heterogenous ListViews or Heterogenous RecyclerView to show different layouts.
- [ ] Allow video trailers to be played in full-screen using the YouTubePlayerView.
- [ ] Overlay a play icon for videos that can be played.
- [ ] More popular movies should start a separate activity that plays the video immediately.
- [ ] Less popular videos rely on the detail page should show ratings and a YouTube preview.
- [ ] Apply the popular Butterknife annotation library to reduce boilerplate code.
- [X] Apply rounded corners for the poster or background images using Picasso transformations
The following additional features are implemented:
- [ ] List anything else that you can get done to improve the app functionality!
Video Walkthrough
Here's a walkthrough of implemented user stories:
Horizontal:
Vertical:
GIF created with LiceCap.
Notes
The thing I struggled with the most in regards to this app was linking the movie info activity to the main activity. Whenever I clicked a ListView item, I was getting a fatal error. Eventually, I solved the issue. I never got around to finishing swipe to refresh (I moved on to other parts). If I had the time, I would go back and finish that. I'm very happy with the progress I made on this app. After it is due, I may still continue to implement the youtubeAPI and butterknife to improve the app further. I also may toy with the look of the app as well.
Open-source libraries used
- Android Async HTTP - Simple asynchronous HTTP requests with JSON parsing
- Picasso - Image loading and caching library for Android
License
Copyright [2016] [Cameron Cuzmanko]
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.