使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
check_circle
添加存储库
emoji_objects
Codelab
导入 DevBytes 应用的起始代码。通过实现离线缓存以显示来自本地数据库(而非来自网络)的结果,提升应用的用户体验。通过使用缓存,用户能够在设备离线或网络连接速度较慢时使用该应用。创建一个存储库类,以提供一个架构整洁的 API 来访问应用其余部分中的数据。
check_circle
WorkManager
emoji_objects
Codelab
使用 WorkManager 以经优化、高效的方式调度后台任务。
“存储库和 WorkManager”测验
测试您对使用 WorkManager 创建存储库、添加离线缓存及调度后台任务方面知识的掌握情况,赢取“存储库和 WorkManager”徽章。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{}
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],[]]