{"id":13774352,"url":"https://github.com/KhaledSherifSayed/PopularPeople","last_synced_at":"2025-05-11T06:33:14.134Z","repository":{"id":135763441,"uuid":"278113314","full_name":"KhaledSherifSayed/PopularPeople","owner":"KhaledSherifSayed","description":"A 📱 Popular People app using Shared Elements between fragments with transformation motions based on MVVM (ViewModel, Coroutines, LiveData, Repository, Koin) architecture.","archived":false,"fork":false,"pushed_at":"2020-07-11T18:47:54.000Z","size":70714,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-17T09:39:08.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KhaledSherifSayed.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}},"created_at":"2020-07-08T14:35:46.000Z","updated_at":"2023-10-31T11:48:15.000Z","dependencies_parsed_at":"2023-05-03T01:16:33.123Z","dependency_job_id":null,"html_url":"https://github.com/KhaledSherifSayed/PopularPeople","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhaledSherifSayed%2FPopularPeople","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhaledSherifSayed%2FPopularPeople/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhaledSherifSayed%2FPopularPeople/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhaledSherifSayed%2FPopularPeople/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KhaledSherifSayed","download_url":"https://codeload.github.com/KhaledSherifSayed/PopularPeople/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253528407,"owners_count":21922623,"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-08-03T17:01:25.947Z","updated_at":"2025-05-11T06:33:09.117Z","avatar_url":"https://github.com/KhaledSherifSayed.png","language":"Kotlin","funding_links":[],"categories":[":art: Pattern"],"sub_categories":["MVVM"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Preview/stars.jpg\" width=\"100%\" height=\"350\"/\u003e\n\u003c/p\u003e\n\n# Popular People 👓\n[![GitHub license](https://img.shields.io/badge/License-Khaled-blue.svg)](LICENSE.txt)\n[![Android Weekly](https://img.shields.io/badge/Android%20Weekly-%23406-2CA3E6.svg?style=flat)](http://androidweekly.net/issues/issue-406)\n[![ktlint](https://img.shields.io/badge/code%20style-%E2%9D%A4-FF4081.svg)](https://ktlint.github.io/)\n![Github Followers](https://img.shields.io/github/followers/KhaledSherifSayed?label=Follow\u0026style=social)\n![GitHub forks](https://img.shields.io/github/forks/KhaledSherifSayed/PopularPeople?style=social)\n![GitHub watchers](https://img.shields.io/github/watchers/KhaledSherifSayed/PopularPeople?style=social)\n![Twitter Follow](https://img.shields.io/twitter/follow/Meslmawy?label=Follow\u0026style=social)\n\n\n**Popular People** is a sample  Android application 📱 showing stars of the world 👓 built to demonstrate use of *Modern Android development* tools. Dedicated to all Android Developers with ❤️. \n\n***You can Install and test latest Popular People app from below 👇***\n\n[![Popular People App](https://img.shields.io/badge/Popular👓-APK-red.svg?style=for-the-badge\u0026logo=android)](https://github.com/KhaledSherifSayed/PopularPeople/releases/latest/download/popular_people.apk)\n\n\n## About\nIt simply loads **Popular People** data from API.Peoples will be always loaded from Remote data (from API). \n- Clean and Simple Material UI.\n- Clean and Simple Architecture(MVVVM).\n- It will supports soon offline capable 😃.\n\n*Dummy API is used in this app. JSON response is statically hosted [here](https://developers.themoviedb.org/3)*.\n\n## ScreenShots\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/Preview/main_screen.gif\" width=\"32%\"/\u003e\n\u003cimg src=\"/Preview/details_screen.gif\" width=\"32%\"/\u003e\n\u003cimg src=\"/Preview/open_photo.gif\" width=\"32%\"/\u003e\n\u003c/p\u003e\n\n## Built With 🛠\n- [SharedElements](https://developer.android.com/training/transitions/start-activity) - Shared elemnts between fragments with Navigation Component.\n- [Kotlin](https://kotlinlang.org/) - First class and official programming language for Android development.\n- [Coroutines](https://kotlinlang.org/docs/reference/coroutines-overview.html) - For asynchronous and more..\n- [Flow](https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/) - A cold asynchronous data stream that sequentially emits values and completes normally or with an exception.\n- [Android Architecture Components](https://developer.android.com/topic/libraries/architecture) - Collection of libraries that help you design robust, testable, and maintainable apps.\n  - [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) - Data objects that notify views when the underlying database changes.\n  - [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) - Stores UI-related data that isn't destroyed on UI changes. \n  - [ViewBinding](https://developer.android.com/topic/libraries/view-binding) - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.\n  - [Room](https://developer.android.com/topic/libraries/architecture/room) - SQLite object mapping library.\n- [Dependency Injection](https://developer.android.com/training/dependency-injection) - \n  - [`Koin`](https://insert-koin.io/) DI Version 🗡️\n- [Retrofit](https://square.github.io/retrofit/) - A type-safe HTTP client for Android and Java.\n- [Moshi](https://github.com/square/moshi) - A modern JSON library for Kotlin and Java.\n- [Moshi Converter](https://github.com/square/retrofit/tree/master/retrofit-converters/moshi) - A Converter which uses Moshi for serialization to and from JSON.\n- [Glide](https://github.com/bumptech/glide) - An image loading library for Android backed by Kotlin Coroutines.\n- [Material Components for Android](https://github.com/material-components/material-components-android) - Modular and customizable Material Design UI components for Android.\n- [Gradle Kotlin DSL](https://docs.gradle.org/current/userguide/kotlin_dsl.html) - For writing Gradle build scripts using Kotlin.\n\n\n## Unit Testing Frameworks\nUnit Tests verify the interactions of viewmodels between repositories and dao \u0026 REST api requests.\n- [Robolectric](https://github.com/robolectric/robolectric) - Robolectric is the industry-standard unit testing framework for Android.\n- [Mockito-Kotlin](https://github.com/nhaarman/mockito-kotlin) - a small library that provides helper functions to work with Mockito in Kotlin.\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Preview/tests.PNG\" width=\"100%\" height=\"350\"/\u003e\n\u003c/p\u003e\n\n\n**Contributed By:** [Khaled Sherif](https://github.com/KhaledSherifSayed)\n\n# Package Structure\n    \n    com.meslmawy.ibtkarchallenge  # Root Package\n    .\n    ├── data                # For data handling.\n    │   ├── remote          # Remote Data Handlers     \n    |   │   ├── api         # Retrofit API for remote end point.\n    │   └── repository      # Single source of data.\n    |\n    ├── model               # Model classes\n        ├── dto             # Data Models         \n    ├── di                  # Dependency Injection             \n    │   ├── builder         # Activity Builder\n    │   ├── component       # DI Components       \n    │   └── module          # DI Modules\n    |\n    ├── ui                  # Activity/View layer\n    │   ├── base            # Base View\n    │   ├── main            # Main Screen Activity \u0026 ViewModel\n    |   │   ├──Fragment     # Fragment\n    |   │   └── viewmodel   # ViewModel for Main Fragmnet\n    │   └── details         # Detail Screen Fragment and ViewModel\n    |   │   ├─ Fragment     # Fragment\n    |   │   └─ viewmodel    # ViewModel for Details Fragmnet \n    │   └── photo           # Photo Screen Fragment and ViewModel\n    |   │   ├─ Fragment     # Fragment\n    |   │   └─ viewmodel    # ViewModel for Details Fragmnet \n    │   ├── adapter         # Base Adapters Package\n    |   │   ├  MainPopular  # Main adapter with ViewHolder for Popular People Items\n    |   │   ├  Movies       # adapter with ViewHolder for Actor Movies\n    |   │   └─ Images       # adapter with ViewHodler for Actor Images\n    └── utils               # Utility Classes / Kotlin extensions\n\n## Architecture\nThis app uses [***MVVM (Model View View-Model)***](https://developer.android.com/jetpack/docs/guide#recommended-app-arch) architecture.\n\n![](https://developer.android.com/topic/libraries/architecture/images/final-architecture.png)\n\n## Soon 🎈💪\n - Posters will be always loaded from local database. Remote data (from API) and Local data is always synchronized.\n -  Try with [Hilt-Dagger](https://dagger.dev/hilt/) - Standard library to incorporate Dagger dependency injection into an Android application.\n \n## Find this repository useful? :heart:\nSupport it by joining __[stargazers](https://github.com/KhaledSherifSayed/PopularPeople/stargazers)__ for this repository. :star: \u003cbr\u003e\nAnd __[follow](https://github.com/KhaledSherifSayed)__ me for my next creations! 🤩\n\n\n## License\n```\n\nCopyright (c) 2020 Khaled  Sherif\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKhaledSherifSayed%2FPopularPeople","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKhaledSherifSayed%2FPopularPeople","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKhaledSherifSayed%2FPopularPeople/lists"}