{"id":20958516,"url":"https://github.com/junixapp/qingframework","last_synced_at":"2025-05-14T06:32:21.227Z","repository":{"id":108524900,"uuid":"147014436","full_name":"junixapp/QingFramework","owner":"junixapp","description":"采用Kotlin封装的Android快速开发框架，包括基于LiveData的MVVM架构和通用组件。","archived":false,"fork":false,"pushed_at":"2018-09-05T14:40:49.000Z","size":189,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T14:02:10.626Z","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/junixapp.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,"dei":null}},"created_at":"2018-09-01T16:26:19.000Z","updated_at":"2021-09-09T02:49:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"876ca25e-6bdc-4e79-b14d-3a54c8f4c5e2","html_url":"https://github.com/junixapp/QingFramework","commit_stats":null,"previous_names":["junixapp/qingframework"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junixapp%2FQingFramework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junixapp%2FQingFramework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junixapp%2FQingFramework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junixapp%2FQingFramework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junixapp","download_url":"https://codeload.github.com/junixapp/QingFramework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254084691,"owners_count":22011923,"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-19T01:47:59.677Z","updated_at":"2025-05-14T06:32:16.219Z","avatar_url":"https://github.com/junixapp.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"## QingFramework\n基于Kotlin封装的Android快速开发框架！\n\n\n\n## 框架组成\n\n框架主要有MVVM架构和通用组件两大部分。\n\n\n\n## MVVM架构\n\n目前MVVM架构大概有几种实现：官方的DataBinding，官方的LiveData，基于Kotlin的代理封装。\n\nDataBinding会侵入XML文件，而且需要掌握大堆注入语法。由于底层是反射，还有一定性能问题，故不是很喜欢。\n\nLiveData底层是通过代理一套数据结构来实现数据变更通知UI。使用起来很简单，且灵活。\n\n基于Kotlin代理封装，这个依赖于类库作者的实力，如果问题不大也可采用。不过目前并没有太成熟稳定的实现方案。\n\n在MVVM架构中，VM是核心，负责管理UI状态，处理业务逻辑，通过响应式的机制来更新UI。基于LiveData的MVVM架构图如下所示：\n\n![mvvm](http://ww1.sinaimg.cn/large/71b38f2cly1fuuhseqf39j20ru0lt401.jpg)\n\n\n\n## 通用组件\n\n- UI状态切换组件\n- log组件\n- http组件\n- adapter组件\n- dialog组件\n- util模块","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunixapp%2Fqingframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunixapp%2Fqingframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunixapp%2Fqingframework/lists"}