没有合适的资源?快使用搜索试试~ 我知道了~
Android-Paging-Example:具有从Github API检索的数据的Android Jetpack分页示例
共66个文件
xml:25个
kt:19个
png:10个
需积分: 5 0 下载量 137 浏览量
2021-04-29
05:10:56
上传
评论
收藏 164KB ZIP 举报
温馨提示
Android Jetpack分页示例 示例项目展示了如何使用MVVM Architecture Pattern通过实现。 该项目也可以用作扩展模板, 入门 本分步指南将帮助您创建带有分页的RecyclerView: 第1步-创建可以处理分页的新Retrofit API服务 这些端点通常将具有page和per_page值。 @GET(PREFIX + "{userId}/repos") fun getRepos(@Path("userId") userId: String, @Query("page") page: Int, @Query("per_page") perPage : Int ): Single<Response>>> 您可以将其视为Google搜索页面:
资源推荐
资源详情
资源评论
收起资源包目录
Android-Paging-Example-master.zip (66个子文件)
Android-Paging-Example-master
gradlew.bat 2KB
gradlew 5KB
gradle.properties 726B
app
proguard-rules.pro 751B
src
test
java
com
vanethos
example
ExampleUnitTest.kt 345B
androidTest
java
com
vanethos
example
ExampleInstrumentedTest.kt 647B
main
res
mipmap-xxxhdpi
ic_launcher.png 9KB
ic_launcher_round.png 15KB
drawable
ic_stars.xml 390B
ic_watchers.xml 532B
ic_empty.xml 695B
ic_language.xml 401B
ic_launcher_background.xml 5KB
mipmap-hdpi
ic_launcher.png 3KB
ic_launcher_round.png 5KB
drawable-v24
ic_launcher_foreground.xml 2KB
values
colors.xml 208B
strings.xml 207B
styles.xml 383B
dimens.xml 106B
mipmap-xxhdpi
ic_launcher.png 6KB
ic_launcher_round.png 10KB
mipmap-mdpi
ic_launcher.png 2KB
ic_launcher_round.png 3KB
mipmap-xhdpi
ic_launcher.png 4KB
ic_launcher_round.png 7KB
mipmap-anydpi-v26
ic_launcher_round.xml 270B
ic_launcher.xml 270B
layout
activity_main.xml 2KB
item_repo.xml 5KB
item_loading.xml 487B
empty_view.xml 1KB
java
com
vanethos
example
data
endpoints
UsersApi.kt 507B
models
ReposDto.kt 669B
services
ReposService.kt 514B
domain
models
Repos.kt 436B
mappers
ReposMapper.kt 433B
managers
ReposManager.kt 1KB
utils
networking
NetworkTools.kt 1KB
pagination
factory
ReposDataSourceFactory.kt 985B
datasource
_base
BaseDataSource.kt 3KB
OnDataSourceLoading.kt 453B
ReposDataSource.kt 2KB
presentation
ui
MainViewModel.kt 740B
base
BaseDiffAdapter.kt 2KB
BasePaginationViewModel.kt 5KB
MainAdapter.kt 2KB
MainActivity.kt 5KB
utils
Event.kt 611B
AndroidManifest.xml 845B
.gitignore 7B
build.gradle 3KB
gradle
wrapper
gradle-wrapper.jar 53KB
gradle-wrapper.properties 200B
.idea
codeStyles
Project.xml 2KB
assetWizardSettings.xml 2KB
gradle.xml 626B
runConfigurations.xml 564B
misc.xml 6KB
vcs.xml 167B
encodings.xml 159B
compiler.xml 449B
.gitignore 176B
README.md 8KB
settings.gradle 15B
build.gradle 1003B
共 66 条
- 1
资源评论
EngleSEN
- 粉丝: 47
- 资源: 4502
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功