Giter VIP home page Giter VIP logo

flixter's Introduction

flixter

Flixter 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: 20 hours spent in total

User Stories

The following required functionality is completed:

  • User can scroll through current movies from the Movie Database API
  • For each movie displayed, user can see the following details:
    • Title, Poster Image, Overview (Portrait mode)
    • Title, Backdrop Image, Overview (Landscape mode)
  • Layout is optimized with the ViewHolder pattern.
  • User can pull-to-refresh popular stream to get the latest movies.
  • Display a nice default placeholder graphic for each image during loading.

The following optional features are implemented:

  • Improved the user interface through styling and coloring.
  • Allow user to view details of the movie including ratings and popularity within a separate activity or dialog fragment.
  • 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.

The following stretch features are implemented:

  • 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.
  • Leverages the data binding support module to bind data into layout templates.
  • Uses retrolambda expressions to cleanup event handling blocks.
  • Apply the popular Butterknife annotation library to reduce boilerplate code.
  • Apply rounded corners for the poster or background images using Picasso transformations
  • Replaced android-async-http network client with the popular lower-level OkHttp networking library.
  • Replaced all icon drawables and other static image assets with vector drawables where appropriate.

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

GIF created with LiceCap.

Notes

  • I encountered a difficulty of launching activity within view holder class, and did some research on that myself. Also it was difficult to maintain scrolling position and similar stuff that I want to keep when configuration like orientation changes, without a specific tutorial.

Open-source libraries used

  • Android Async HTTP - Simple asynchronous HTTP requests with JSON parsing
  • Picasso - Image loading and caching library for Android
  • ButterKnife - Field and method binding for Android views
  • [RetroLambda]

License

Copyright [Lindsey Liu]

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.

flixter's People

Contributors

lindseyliu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.