{"id":20560729,"url":"https://github.com/haider8/mars-property-app","last_synced_at":"2026-04-21T07:33:40.138Z","repository":{"id":103067794,"uuid":"200391582","full_name":"Haider8/Mars-Property-App","owner":"Haider8","description":"Fetch data from API to show properties on mars - Kotlin Android App","archived":false,"fork":false,"pushed_at":"2019-08-06T08:56:39.000Z","size":4039,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T19:07:34.318Z","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/Haider8.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":"2019-08-03T15:32:12.000Z","updated_at":"2025-01-12T14:37:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"94064b01-0ad5-4603-9f57-e1762cdc21d0","html_url":"https://github.com/Haider8/Mars-Property-App","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haider8%2FMars-Property-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haider8%2FMars-Property-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haider8%2FMars-Property-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haider8%2FMars-Property-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haider8","download_url":"https://codeload.github.com/Haider8/Mars-Property-App/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242170274,"owners_count":20083475,"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-11-16T03:55:32.470Z","updated_at":"2026-04-21T07:33:35.115Z","avatar_url":"https://github.com/Haider8.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect to the Internet - Mars Real Estate\n\nThis is the toy app for Lesson 8 of the [Android App Development in Kotlin course on Udacity](https://classroom.udacity.com/courses/ud9012/).\n\n## MarsRealEstate\n\nMarsRealEstate is a simple demo app using ViewModel \u0026 LiveData with Retrofit, Glide and Moshi in Kotlin.\n\nThis app demonstrates the following views and techniques:\n\n* [Retrofit](https://square.github.io/retrofit/) to make api calls to an HTTP web service\n* [Moshi](https://github.com/square/moshi) which handles the deserialization of the returned JSON to Kotlin data objects \n* [Glide](https://bumptech.github.io/glide/) to load and cache images by URL.\n  \nIt leverages the following components from the Jetpack library:\n\n* [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel)\n* [LiveData](https://developer.android.com/topic/libraries/architecture/livedata)\n* [Data Binding](https://developer.android.com/topic/libraries/data-binding/) with binding adapters\n* [Navigation](https://developer.android.com/topic/libraries/architecture/navigation/) with the SafeArgs plugin for parameter passing between fragments\n\n## Screenshots\n\n![Screenshot 1](screenshots/screen_1.png)\n![Screenshot 2](screenshots/screen_2.png)\n![Screenshot 3](screenshots/screen_3.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 the that step.\n\nEach commit also has a **branch** associated with it of the same name as the commit message, as 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. Check out 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: Check out 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaider8%2Fmars-property-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaider8%2Fmars-property-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaider8%2Fmars-property-app/lists"}