{"id":21280337,"url":"https://github.com/harryjhin/bmi-calculator","last_synced_at":"2025-03-15T14:09:43.558Z","repository":{"id":214001436,"uuid":"491031229","full_name":"HarryJhin/bmi-calculator","owner":"HarryJhin","description":"Kotlin으로 작성한 BMI 계산 앱","archived":false,"fork":false,"pushed_at":"2022-05-11T14:07:09.000Z","size":285,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T04:11:37.429Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HarryJhin.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,"roadmap":null,"authors":null}},"created_at":"2022-05-11T08:54:27.000Z","updated_at":"2022-05-11T08:54:42.000Z","dependencies_parsed_at":"2023-12-25T03:24:04.122Z","dependency_job_id":"38072cd3-18b1-4129-ac47-cebbafd79619","html_url":"https://github.com/HarryJhin/bmi-calculator","commit_stats":null,"previous_names":["harryjhin/bmi-calculator"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryJhin%2Fbmi-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryJhin%2Fbmi-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryJhin%2Fbmi-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarryJhin%2Fbmi-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarryJhin","download_url":"https://codeload.github.com/HarryJhin/bmi-calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243738985,"owners_count":20340002,"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-21T10:29:22.858Z","updated_at":"2025-03-15T14:09:43.541Z","avatar_url":"https://github.com/HarryJhin.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BMI 계산기 앱\n\n### 개요\n\n키와 몸무게를 입력하고 결과를 누르면 다른 화면에서 비만 결과를 문자와 그림으로 보여줍니다.\n\n| ![run-app](run-app.png) | ![result](result.png) |\n| ----------------------- | --------------------- |\n\n### 핵심 구성요소\n\n- 마지막으로 입력했던 키와 몸무게는 자동으로 저장됩니다.\n- `Intent`: 화면을 전환에 사용하고, 간단한 데이터를 전달할 수 있습니다.\n- `SharedPreference`: 간단한 데이터를 저장할 수 있습니다.\n\n### 구현 순서\n\n1. 준비하기\n2. 키와 몸무게를 입력하면 화면 작성\n3. 결과 화면 작성\n4. `Intent`로 화면 전환\n5. `SharedPreference`로 데이터를 저장\n\n### 프로젝트 생성\n\n- 프로젝트명: BmiCalculator\n- minSdkVersion: API 21\n- Activity: Empty Activity\n\n### 뷰 바인딩\n\n바인딩 객체를 통해 간단하게 UI에 접근할 수 있게 함\n\n`findViewById()` 생략\n\n`build.gradle (module)`에서 다음 코드 추가:\n\n```groovy\nandroid {\n    // ...\n    buildFeatures {\n        viewBinding true\n    }\n}\n```\n\n`Sync Now` 버튼 클릭\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharryjhin%2Fbmi-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharryjhin%2Fbmi-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharryjhin%2Fbmi-calculator/lists"}