没有合适的资源?快使用搜索试试~ 我知道了~
FirestorePagination:FirestorePagination应用程序是使用MVVM架构模式由Cloud Fir...
共47个文件
xml:16个
png:10个
kt:8个
需积分: 5 0 下载量 30 浏览量
2021-03-09
18:26:08
上传
评论
收藏 149KB ZIP 举报
温馨提示
FirestorePagination-使用MVVM的干净架构。 这是一个Kotlin的应用程序构建,以如何使用分页数据库为例。 为了使事情简单,该应用程序使用了非常简单的数据库架构,如下图所示: 为了获取数据,该应用程序在MVVM体系结构模式和与结合使用。 对于依赖项注入,该应用程序使用 。 除此之外,该应用程序还使用数据绑定来绑定布局中的UI组件。 要使该应用程序正常运行,请按照官方文档中给出的有关。 在您的app文件夹中添加JSON文件,添加一些虚拟产品,然后查看其工作情况。 此仓库是本文的源代码: 在youtube上也可以看到它: :
资源推荐
资源详情
资源评论
收起资源包目录
FirestorePagination-master.zip (47个子文件)
FirestorePagination-master
.gitignore 225B
app
.gitignore 6B
build.gradle 2KB
src
main
AndroidManifest.xml 839B
res
mipmap-xhdpi
ic_launcher_round.png 7KB
ic_launcher.png 5KB
mipmap-mdpi
ic_launcher_round.png 3KB
ic_launcher.png 3KB
layout
item_product.xml 2KB
activity_products.xml 946B
mipmap-xxhdpi
ic_launcher_round.png 12KB
ic_launcher.png 8KB
drawable
ic_launcher_background.xml 5KB
mipmap-anydpi-v26
ic_launcher_round.xml 272B
ic_launcher.xml 272B
drawable-v24
ic_launcher_foreground.xml 2KB
mipmap-hdpi
ic_launcher_round.png 5KB
ic_launcher.png 4KB
mipmap-xxxhdpi
ic_launcher_round.png 16KB
ic_launcher.png 10KB
values-night
themes.xml 841B
values
strings.xml 81B
colors.xml 378B
themes.xml 841B
java
ro
alexmamo
firestorepagination
ProductsApplication.kt 171B
data
Product.kt 274B
utils
Constants.kt 180B
di
AppModule.kt 821B
products
ProductsAdapter.kt 2KB
FirestorePagingSource.kt 1KB
ProductsActivity.kt 2KB
ProductsViewModel.kt 731B
proguard-rules.pro 750B
settings.gradle 55B
build.gradle 1KB
gradlew 5KB
README.md 1KB
gradlew.bat 2KB
gradle.properties 1KB
.idea
.gitignore 47B
misc.xml 530B
gradle.xml 947B
vcs.xml 180B
compiler.xml 170B
jarRepositories.xml 1KB
gradle
wrapper
gradle-wrapper.properties 230B
gradle-wrapper.jar 53KB
共 47 条
- 1
资源评论
w4676
- 粉丝: 24
- 资源: 4620
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功