{"id":18264750,"url":"https://github.com/reactcomponentkit/androidreactcomponentkit","last_synced_at":"2025-07-23T20:02:42.242Z","repository":{"id":137745982,"uuid":"186415677","full_name":"ReactComponentKit/AndroidReactComponentKit","owner":"ReactComponentKit","description":"AndroidReactComponentKit = Component + MVVM + Redux for Android!!!","archived":false,"fork":false,"pushed_at":"2019-09-19T12:26:12.000Z","size":3347,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T21:39:48.329Z","etag":null,"topics":["android","component","mvvm","react","redux"],"latest_commit_sha":null,"homepage":"https://github.com/ReactComponentKit/AndroidReactComponentKit","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/ReactComponentKit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-13T12:30:38.000Z","updated_at":"2021-03-01T15:23:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"db471842-a66d-4940-97b9-10eec31f93ae","html_url":"https://github.com/ReactComponentKit/AndroidReactComponentKit","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/ReactComponentKit/AndroidReactComponentKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReactComponentKit%2FAndroidReactComponentKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReactComponentKit%2FAndroidReactComponentKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReactComponentKit%2FAndroidReactComponentKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReactComponentKit%2FAndroidReactComponentKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReactComponentKit","download_url":"https://codeload.github.com/ReactComponentKit/AndroidReactComponentKit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReactComponentKit%2FAndroidReactComponentKit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266738509,"owners_count":23976436,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["android","component","mvvm","react","redux"],"created_at":"2024-11-05T11:15:48.948Z","updated_at":"2025-07-23T20:02:42.214Z","avatar_url":"https://github.com/ReactComponentKit.png","language":"Kotlin","readme":"# AndroidReactComponentKit\n\n[![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html)\n[![API](https://img.shields.io/badge/API-16%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=16)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](http://opensource.org/licenses/MIT)\n\nAndroidReactComponentKit is [ReactComponentKit](https://github.com/ReactComponentKit/ReactComponentKit) for Android. AndroidReactComponentKit is a library for building Activity or Fragment. You can make that based on Components. Also, It uses MVVM and Redux architectures for unidirectional data flow.\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/ReactComponentKit/AndroidReactComponentKit/master/art/AndroidReactComponentKitV2.png\"\u003e\u003c/div\u003e\n\n## Data Flow\n\n * (1) : Components dispatch actions\n * (2) : ViewModel passes the actions to the store. You can use beforeDispatch(action:) method to do some work before dispatching actions.\n * (3) : Store passes current state to the Mutation pipeline. Reducers make a new state.\n * (4) : New State comes out from the Mutation pipeline. It is passed to the store.\n * (5) : Store passes the new state to the ViewModel.\n * (6) : ViewModel passes the new state to the Components.\n\n## Components\n\nAndroidReactComponentKit provides four components basically. \n\n * ViewComponent\n \t* ViewComponent is a view. It is an abstraction of the view that makes up the screen as a component. You can use ViewComponent to create a layout of the Activity or Fragment. It can also be used to create an item views in RecyclerView.\n * FragmentComponent\n \t* FragmentComponet is a fragment. You can use FragmentComponent when creating an Activity. If you delegate responsibility for an Activity to a FragmentComponent, you can avoid creating a massive Activity.\n * RecyclerViewAdapter\n \t* The RecyclerViewAdapter connects ViewComponent and RecyclerView. The RecyclerViewAdapter can use several types of views, but only one LayoutManager can be used.\n * CollectionViewAdapter\n \t* The CollectionViewAdapter connects ViewComponent and RecyclerView. Unlike the RecyclerViewAdapter, you can use multiple LayoutManagers. In other words, you can use various LayoutManagers with different types of views.  \n\n## Examples\n\n### [Hello Android RCK](https://github.com/ReactComponentKit/HelloAndroidRCK)\n\n ![](https://raw.githubusercontent.com/ReactComponentKit/HelloAndroidRCK/master/art/result.gif)\n\n### [Hello Android RoomDB](https://github.com/ReactComponentKit/HelloRoom)\n\n ![](https://raw.githubusercontent.com/ReactComponentKit/HelloRoom/master/art/result.gif)\n\n### [Counter](https://github.com/ReactComponentKit/AndroidReactComponentKit/tree/master/app/src/main/java/com/github/skyfe79/android/library/app/examples/counter2)\n\n ![](./art/counter.gif)\n \n### [RecyclerView with DiffUtil](https://github.com/ReactComponentKit/AndroidReactComponentKit/tree/master/app/src/main/java/com/github/skyfe79/android/library/app/examples/emojicollection)\n \n ![](./art/emoji-diffutil.gif)\n \n### [CollectionViewAdapter](https://github.com/ReactComponentKit/AndroidReactComponentKit/tree/master/app/src/main/java/com/github/skyfe79/android/library/app/examples/collectionview)\n\n ![](./art/collectionviewadapter.gif)\n \n## Setup Gradle\n\n### Project's build.gradle\n\n```groovy\next.kotlin_version = '1.3.31'\next.anko_version='0.10.8'\next.androidx_lifecycle_version='2.0.0'\next.rxjava2_version='2.2.8'\next.rxkotlin_version='2.3.0'\next.rck_version='2.0.4'\n```\n\n### App's build.gradle\n\n```groovy\ndependencies {\n\t...\n\timplementation \"io.reactivex.rxjava2:rxjava:$rxjava2_version\"\n\timplementation \"io.reactivex.rxjava2:rxkotlin:$rxkotlin_version\"\n\timplementation \"org.jetbrains.anko:anko:$anko_version\"\n\timplementation \"androidx.lifecycle:lifecycle-extensions:$androidx_lifecycle_version\"\n\timplementation \"com.github.skyfe79.android:reactcomponentkit:$rck_version\"\n}\n```\n\n## MIT License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Sungcheol Kim, [https://github.com/ReactComponentKit/AndroidReactComponentKit](https://github.com/ReactComponentKit/AndroidReactComponentKit)\n\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 NONINFRINGEMENT. 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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactcomponentkit%2Fandroidreactcomponentkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freactcomponentkit%2Fandroidreactcomponentkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactcomponentkit%2Fandroidreactcomponentkit/lists"}