{"id":21328715,"url":"https://github.com/jingle1267/androidkeyvalue","last_synced_at":"2025-03-16T00:23:36.945Z","repository":{"id":77996394,"uuid":"110051555","full_name":"jingle1267/AndroidKeyValue","owner":"jingle1267","description":"Android上基于realm数据库的k-v工具类","archived":false,"fork":false,"pushed_at":"2017-11-09T09:26:30.000Z","size":141,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T13:19:13.959Z","etag":null,"topics":["androidkeyvalue","keyvalue","kv"],"latest_commit_sha":null,"homepage":"http://ihongqiqu.com","language":"Java","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/jingle1267.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":"2017-11-09T01:32:29.000Z","updated_at":"2017-11-22T03:11:41.000Z","dependencies_parsed_at":"2023-03-03T09:15:37.293Z","dependency_job_id":null,"html_url":"https://github.com/jingle1267/AndroidKeyValue","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jingle1267%2FAndroidKeyValue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jingle1267%2FAndroidKeyValue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jingle1267%2FAndroidKeyValue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jingle1267%2FAndroidKeyValue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jingle1267","download_url":"https://codeload.github.com/jingle1267/AndroidKeyValue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243808088,"owners_count":20351119,"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":["androidkeyvalue","keyvalue","kv"],"created_at":"2024-11-21T21:40:10.734Z","updated_at":"2025-03-16T00:23:36.884Z","avatar_url":"https://github.com/jingle1267.png","language":"Java","readme":"# AndroidKeyValue\n\n[![](https://jitpack.io/v/jingle1267/AndroidKeyValue.svg)](https://jitpack.io/#jingle1267/AndroidKeyValue)\n\n\nAndroid上基于realm数据库的k-v工具类\n\n### 快速使用\n\n#### 添加依赖\n\n```\nallprojects {\n    repositories {\n\t\t...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n```\ndependencies {\n\tcompile 'com.github.jingle1267:AndroidKeyValue:1.0.4'\n}\n```\n\n#### 1. init\n\n```JAVA\nRealm.init(getApplicationContext());\n```  \n\n#### 2. insert \u0026 update\n\n```JAVA\nKeyValueUtil.insertOrUpdate(\"key1\", value);\n```\n\n#### 3. delete\n\n```JAVA\nKeyValueUtil.delete(\"key1\");\n```\n\n#### 4. select\n\n```JAVA\nList\u003cKeyValue\u003e list =  KeyValueUtil.query(\"key1\");\n```\n\n本组件基于Realm数据库。https://realm.io/docs/java/latest/","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjingle1267%2Fandroidkeyvalue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjingle1267%2Fandroidkeyvalue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjingle1267%2Fandroidkeyvalue/lists"}