{"id":24515194,"url":"https://github.com/sha-env/Simple-Kotlin-Project","last_synced_at":"2025-10-06T16:30:55.791Z","repository":{"id":273358048,"uuid":"919414818","full_name":"sha-env/Simple-Kotlin-Project","owner":"sha-env","description":"Simple Kotlin Project Using Kotlin Language","archived":false,"fork":false,"pushed_at":"2025-03-17T00:31:39.000Z","size":2397,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-29T06:28:53.288Z","etag":null,"topics":["combinational-logic","intent","kotlin","kotlin-android","navigation-drawer"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sha-env.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["guanshiyin28"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-01-20T10:52:01.000Z","updated_at":"2025-05-02T15:25:30.000Z","dependencies_parsed_at":"2025-01-20T12:38:10.149Z","dependency_job_id":"96e54e8d-3b1d-4cdd-9c14-d4c8a6ede501","html_url":"https://github.com/sha-env/Simple-Kotlin-Project","commit_stats":null,"previous_names":["guanshiyin28/simple-kotlin-project","n4vrl0s3/simple-kotlin-project","sha-env/simple-kotlin-project"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sha-env/Simple-Kotlin-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha-env%2FSimple-Kotlin-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha-env%2FSimple-Kotlin-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha-env%2FSimple-Kotlin-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha-env%2FSimple-Kotlin-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sha-env","download_url":"https://codeload.github.com/sha-env/Simple-Kotlin-Project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha-env%2FSimple-Kotlin-Project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278643354,"owners_count":26021090,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["combinational-logic","intent","kotlin","kotlin-android","navigation-drawer"],"created_at":"2025-01-22T01:16:37.134Z","updated_at":"2025-10-06T16:30:55.786Z","avatar_url":"https://github.com/sha-env.png","language":"Kotlin","funding_links":["https://github.com/sponsors/guanshiyin28"],"categories":[],"sub_categories":[],"readme":"# Navigation Drawer\n\nThis repository contains the source code for an Android application demonstrating the implementation of a Navigation Drawer integrated with API calls and a simple intent mechanism using the Kotlin language within the Android Studio environment. This project showcases how to create a user-friendly and intuitive navigation experience with dynamic content.\n\n\u003chr\u003e\u003cbr\u003e\n\n## Purpose of This Repository\n\nTo showcase the integration of a Navigation Drawer with API calls and a simple intent mechanism to create a flexible and modular user interface within an Android application developed with Kotlin.\n\n\u003chr\u003e\u003cbr\u003e\n\n## Demonstration\n\nBelow is a demonstration of the main function of the Navigation Drawer App:\n\n```kotlin\n// filepath: /home/guan/Documents/Code/Simple-Kotlin-Project/app/src/main/java/com/example/navigationdrawer/MainActivity.kt\npackage com.example.navigationdrawer\n\nimport android.content.Intent\nimport android.os.Bundle\nimport androidx.appcompat.app.AppCompatActivity\nimport androidx.drawerlayout.widget.DrawerLayout\nimport com.google.android.material.navigation.NavigationView\n\nclass MainActivity : AppCompatActivity() {\n\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        setContentView(R.layout.activity_main)\n\n        val drawerLayout: DrawerLayout = findViewById(R.id.drawer_layout)\n        val navView: NavigationView = findViewById(R.id.nav_view)\n\n        // Setup the navigation drawer\n        navView.setNavigationItemSelectedListener { menuItem -\u003e\n            // Handle navigation view item clicks here.\n            menuItem.isChecked = true\n            drawerLayout.closeDrawers()\n\n            // Simple intent mechanism\n            when (menuItem.itemId) {\n                R.id.nav_api -\u003e {\n                    val intent = Intent(this, ApiActivity::class.java)\n                    startActivity(intent)\n                }\n                // Add more cases for other menu items\n            }\n            true\n        }\n    }\n}\n```\n\n\u003chr\u003e\u003cbr\u003e\n\n## Releases\n\nYou can find the latest releases [here](https://github.com/n4vrl0s3/Simple-Kotlin-Project/releases).\n\n\u003chr\u003e\u003cbr\u003e\n\n## Features\n\n- Navigation Drawer with multiple menu items\n- Fragment integration for modular UI\n- API integration for dynamic content\n- Simple intent mechanism for navigation\n- Smooth and intuitive navigation\n- Responsive design for various screen sizes\n\n\u003chr\u003e\u003cbr\u003e\n\n## Technologies Used\n\n- Kotlin\n- Android Studio\n- XML for layout design\n- Retrofit for API calls\n\n\u003chr\u003e\u003cbr\u003e\n\n## Project Setup\n\n1. **Ensure you have Android Studio installed on your machine.**\n2. **Clone this Repository**\n\n```bash\ngit clone https://github.com/n4vrl0s3/Simple-Kotlin-Project.git\n```\n\n3. **Open the project in Android Studio**\n4. **Build the project to download dependencies**\n\n\u003chr\u003e\u003cbr\u003e\n\n## Steps to Run\n\n1. **Open the project in Android Studio**\n2. **Build the project to download dependencies**\n3. **Run the project on an emulator or physical device**\n\n\u003chr\u003e\u003cbr\u003e\n\n## License\n\nThis project is licensed under the Apache-2.0 License. See the [LICENSE](LICENSE) file for details.\n\n\u003chr\u003e\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n   \u003ca href=\"https://www.instagram.com/n4vrl0s3/\"\u003e\n      \u003cimg src=\"https://capsule-render.vercel.app/api?type=waving\u0026height=200\u0026color=100:393E46,20:F7F7F7\u0026section=footer\u0026reversal=false\u0026textBg=false\u0026fontAlignY=50\u0026descAlign=48\u0026descAlignY=59\"/\u003e\n   \u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha-env%2FSimple-Kotlin-Project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsha-env%2FSimple-Kotlin-Project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha-env%2FSimple-Kotlin-Project/lists"}