Stage 2: 14 Oct 16
Popular Movies 2 is an app that has been generated as part of the Udacity Nanodegree. Following the guides this App connects to TheMovieDB.org and downloads popular and top rated movies; the app displays posters, images, release date etc. When online the app will allow you to view the displayed trailers or movie reviews, using apps outside of this one.
If you want to download into Android Studio and run this App you will need an API key from The Movie Database
This is my second attempt at the App, the first version did not pass review, various reasons, screen not restoring after rotation, fixed this by using CursorLoaders, database calls on UI thread, fixed this by using AsyncQueryHandlers and crashed after the user rapidly pressed a movie image 10 times, got round this by storing the context in a variable in the onAttach method. Done away with some of the Material design patterns (AppBarLayout, CollapsingToolbar) I found that added a lot of work, in the App and in my head! CursorLoaders were causing me issues during development, added a SyncAdapter and this helped, but came with its own issues.
- Error Icon by Elegant Themes [From] (http://www.flaticon.com) [Licensed Creative Commons BY 3.0] (http://creativecommons.org/licenses/by/3.0/)
- App Icon from http://www.iconarchive.com/show/button-ui-system-folders-drives-icons-by-blackvariant/Movies-icon.html
- [CursorRecyclerViewAdapter] (https://gist.github.com/skyfishjy/443b7448f59be978bc59)
Copyright 2016 Andrew Jackson
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.