{"id":20162634,"url":"https://github.com/codeamt/popmovies","last_synced_at":"2025-03-03T02:45:32.642Z","repository":{"id":201923666,"uuid":"136074881","full_name":"codeamt/PopMovies","owner":"codeamt","description":"A networked Android app with offline mode for storing popular movies to SQL database","archived":false,"fork":false,"pushed_at":"2021-08-18T01:21:10.000Z","size":1971,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T14:19:28.470Z","etag":null,"topics":["android-development","grow-with-google","udacity-android-nanodegree"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeamt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-06-04T19:47:31.000Z","updated_at":"2021-08-18T01:21:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8d87dc0-b7e2-4b6a-acf1-17f3e3a122ee","html_url":"https://github.com/codeamt/PopMovies","commit_stats":null,"previous_names":["codeamt/popmovies"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeamt%2FPopMovies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeamt%2FPopMovies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeamt%2FPopMovies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeamt%2FPopMovies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeamt","download_url":"https://codeload.github.com/codeamt/PopMovies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241600484,"owners_count":19988713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-development","grow-with-google","udacity-android-nanodegree"],"created_at":"2024-11-14T00:26:04.852Z","updated_at":"2025-03-03T02:45:32.622Z","avatar_url":"https://github.com/codeamt.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003ca href=\"https://sites.google.com/udacity.com/gwgdevscholarship/home\"\u003e#GrowWithGoogle\u003c/a\u003e Android Development Project: \u003cbr\u003ePopMovies App\u003c/h1\u003e\n\n\nFor the second (and third) project of the Grow With Google Developer Scholarship Program (and conjointly Udacity’s Android Development Nanodegree program), students were asked to build and design a movie discovery app (written in Java) from scratch. This app makes use of [TheMovieDB API](https://www.themoviedb.org/documentation/api) and the [YouTube Player API](https://developers.google.com/youtube/android/player/) for Android.\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://drive.google.com/uc?export=view\u0026id=1m2Pa5AfsCjZb98Cn74GTawNN4CL5z6iV\" width=\"200px\" height=\"400px\" /\u003e\n\u003c/p\u003e\n\n\nThe project was completed in two stages: \n\n- (1) fleshing out the UX and \n- (2) polishing the UI. \n\n\n## User Story Map\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://drive.google.com/uc?export=view\u0026id=1u489e1LPeroIacTPCRJEM6Xo6tTCbYMx\" width=\"500px\" height=\"400px\" /\u003e\n\u003c/p\u003e\n\n\n## Learning Objectives\n\n\u003cb\u003eThinking about UX\u003c/b\u003e\n\nThis project hones in on several useful skills – implementing custom adapters (and fragment classes), configuring child menus, and launching intents to build out a User Experience that meets a host of needs for the end user’s session. \n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://drive.google.com/uc?export=view\u0026id=1nr4jYVa-iCqh-bLNOuN4yFp1R5KhGcnZ\"  width=\"200px\" height=\"400px\"  /\u003e\n\u003c/p\u003e\n\n\nImplementing the persistent search functionality was a great learning experience, as it led to more insight about the logistics of filtering a RecyclerView from within an adapter. \n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://drive.google.com/uc?export=view\u0026id=11dK0spZlS508BrtAiSxX_e8GV0s3CTq2\"  width=\"200px\" height=\"400px\" \u003e\n\u003c/p\u003e\n\n\n\u003cb\u003eNetwork Services and Optimizing for Offline Mode\u003c/b\u003e\n\n- I opted in for extending this project’s Content Provider to persist favorite movie data to the app's database and making these titles available offline. I also experimented with the Volley http library in order to speed up network requests.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://drive.google.com/uc?export=view\u0026id=1G9rwWXucwy8ZRCTRk8VSZbJuYOOC3ZcI\"  width=\"200px\" height=\"400px\" /\u003e\n\u003c/p\u003e\n\n\n\u003cb\u003eDesign and Responsive UI\u003c/b\u003e\n\n- Instead of making a landscape layout for this app, I implemented a helper function that takes into account device orientation and expands/contracts the number of grid columns accordingly.\n- I also wanted to extend the user session time, and subsequently used the YouTube Player API to stream a trailer from within the app, itself, rather than launching an intent to the external YouTube service. To make the details page cleaner, I used a pager and tabs to segment general info, the primary movie trailer and RecyclerView list of reviews. I designed collapsible card views for reviews that exceeded 5 lines.\n\n\n\n\u003cb\u003eUsing Logger \u003c/b\u003e \n\nThis project illuminated just how invaluable logging your code can be. Much like console.log in JavaScript, using the logger for this project helped with debugging code at various points.\n\n## Versioning and Dependencies \n\n\u003cb\u003eTarget SDK Version:\u003c/b\u003e 27\n\n\u003cb\u003eDependencies: \u003c/b\u003e\n-\tcom.android.support:appcompat-v7:27.1.1\n- \tcom.android.support:recyclerview-v7:27.1.1\n-\tcom.android.support:design:27.1.1\n-\tcom.android.support:cardview-v7:27.1.1\n-\tcom.squareup.picasso:picasso:2.5.2\n-\tcom.uncopt:android.justified:1.0\n-\tcom.android.volley:volley:1.1.0\n-\tcom.android.support.constraint:constraint-layout:1.1.0\n-\tcom.android.support:support-v4:27.1.1\n-\tlibs/YouTubeAndroidPlayerApi.jar\n\n\u003cb\u003eApp Repositories: \u003c/b\u003e\n-\tMavenCentral\n\n\u003cb\u003eAndroid Studio Version:\u003c/b\u003e 3.1.2 (Stable Release)\n\n\u003cb\u003eGradle Build Tools Version:\u003c/b\u003e 3.1.2\n\n\u003cb\u003eNote:\u003c/b\u003e To run this project on your local machine, you will have to add you your own MovieDB and YouTube Player API keys to a KeyStore.java file.\n\n## References \n\nSeveral tutorials inspired this project: \n\n-\thttps://codeburst.io/android-swipe-menu-with-recyclerview-8f28a235ff28\n-\thttps://guides.codepath.com/android/fragment-navigation-drawer\n-\thttps://panavtec.me/retain-restore-recycler-view-scroll-position\n-\thttps://gist.github.com/takeshiyako2/e776bbaf2966c6501c4f\n-\thttps://android.jlelse.eu/font-awesome-a-better-way-to-display-symbols-and-icons-in-android-d694e5ee621f\n-\thttp://saulmm.github.io/mastering-coordinator\n- https://stackoverflow.com/questions/43937210/searchview-after-rotation-button-goes-to-the-3-dots\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeamt%2Fpopmovies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeamt%2Fpopmovies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeamt%2Fpopmovies/lists"}