{"id":16684295,"url":"https://github.com/leopic/udacity-trivia","last_synced_at":"2026-04-22T12:34:40.852Z","repository":{"id":214395428,"uuid":"735915471","full_name":"leopic/udacity-trivia","owner":"leopic","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-07T14:41:26.000Z","size":364,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T23:38:02.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leopic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-26T12:54:15.000Z","updated_at":"2023-12-26T12:54:45.000Z","dependencies_parsed_at":"2024-11-19T22:48:10.215Z","dependency_job_id":null,"html_url":"https://github.com/leopic/udacity-trivia","commit_stats":null,"previous_names":["leopic/udacity-trivia"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopic%2Fudacity-trivia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopic%2Fudacity-trivia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopic%2Fudacity-trivia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leopic%2Fudacity-trivia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leopic","download_url":"https://codeload.github.com/leopic/udacity-trivia/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243412870,"owners_count":20286839,"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":[],"created_at":"2024-10-12T14:43:03.240Z","updated_at":"2025-12-27T16:05:29.977Z","avatar_url":"https://github.com/leopic.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Navigation\n\nThis is the toy app for lesson 3 of the [Android App Development in Kotlin course on Udacity](https://www.udacity.com/course/developing-android-apps-with-kotlin--ud9012).\n\n## Android Trivia \n\nThe Android Trivia application is an application that asks the user trivia questions about Android development.  It makes use of the Navigation component within Jetpack to move the user between different screens.  Each screen is implemented as a Fragment.\nThe app navigates using buttons, the Action Bar, and the Navigation Drawer.\nSince students haven't yet learned about saving data or the Android lifecycle, it tries to eliminate bugs caused by configuration changes. \n\n## Screenshots\n\n![Screenshot1](screenshots/screen_1.png) ![Screenshot2](screenshots/screen_2.png)\n\n## How to use this repo while taking the course\n\n\nEach code repository in this class has a chain of commits that looks like this:\n\n![listofcommits](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58befe2e_listofcommits/listofcommits.png)\n\nThese commits show every step you'll take to create the app. Each commit contains instructions for completing that step.\n\nEach commit also has a **branch** associated with it of the same name as the commit message, seen below:\n\n![branches](https://d17h27t6h515a5.cloudfront.net/topher/2017/April/590390fe_branches-ud855/branches-ud855.png\n)\nAccess all branches from this tab\n\n![listofbranches](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58befe76_listofbranches/listofbranches.png\n)\n\n\n![branchesdropdown](https://d17h27t6h515a5.cloudfront.net/topher/2017/April/590391a3_branches-dropdown-ud855/branches-dropdown-ud855.png\n)\n\nThe branches are also accessible from the drop-down in the \"Code\" tab\n\n\n## Working with the Course Code\n\nHere are the basic steps for working with and completing exercises in the repo.\n\nThe basic steps are:\n\n1. Clone the repo\n2. Checkout the branch corresponding to the step you want to attempt\n3. Find and complete the TODOs\n4. Optionally commit your code changes\n5. Compare your code with the solution\n6. Repeat steps 2-5 until you've gone trough all the steps to complete the toy app\n\n\n**Step 1: Clone the repo**\n\nAs you go through the course, you'll be instructed to clone the different exercise repositories, so you don't need to set these up now. You can clone a repository from github in a folder of your choice with the command:\n\n```bash\ngit clone https://github.com/udacity/REPOSITORY_NAME.git\n```\n\n**Step 2: Checkout the step branch**\n\nAs you go through different steps in the code, you'll be told which step you're on, as well as a link to the corresponding branch.\n\nYou'll want to check out the branch associated with that step. The command to check out a branch would be:\n\n```bash\ngit checkout BRANCH_NAME\n```\n\n**Step 3: Find and complete the TODOs**\n\nOnce you've checked out the branch, you'll have the code in the exact state you need. You'll even have TODOs, which are special comments that tell you all the steps you need to complete the exercise. You can easily navigate to all the TODOs using Android Studio's TODO tool. To open the TODO tool, click the button at the bottom of the screen that says TODO. This will display a list of all comments with TODO in the project. \n\nWe've numbered the TODO steps so you can do them in order:\n![todos](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58bf00e7_todos/todos.png\n)\n\n**Step 4: Commit your code changes**\n\nAfter You've completed the TODOs, you can optionally commit your changes. This will allow you to see the code you wrote whenever you return to the branch. The following git code will add and save **all** your changes.\n\n```bash\ngit add .\ngit commit -m \"Your commit message\"\n```\n\n**Step 5: Compare with the solution**\n\nMost exercises will have a list of steps for you to check off in the classroom. Once you've checked these off, you'll see a pop up window with a link to the solution code. Note the **Diff** link:\n\n![solutionwindow](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58bf00f9_solutionwindow/solutionwindow.png\n)\n\nThe **Diff** link will take you to a Github diff as seen below:\n![diff](https://d17h27t6h515a5.cloudfront.net/topher/2017/March/58bf0108_diffsceenshot/diffsceenshot.png\n)\n\nAll of the code that was added in the solution is in green, and the removed code (which will usually be the TODO comments) is in red. \n\nYou can also compare your code locally with the branch of the following step.\n\n## Report Issues\nNotice any issues with a repository? Please file a github issue in the repository.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleopic%2Fudacity-trivia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleopic%2Fudacity-trivia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleopic%2Fudacity-trivia/lists"}