没有合适的资源?快使用搜索试试~ 我知道了~
at-lunch-demo
共141个文件
xml:44个
png:43个
kt:39个
需积分: 5 0 下载量 193 浏览量
2021-04-19
12:41:00
上传
评论
收藏 791KB ZIP 举报
温馨提示
在午餐Android演示 AT Lunch演示应用程序允许用户搜索附近的餐馆。 在应用加载时,应用会获取用户的GPS位置,并在列表中和地图上的点上显示搜索结果。 在手持设备上,列表视图和地图视图分别显示。 在平板电脑上,列表和地图在拆分屏幕中并排显示。 建筑学 MVVM设计模式由SearchViewModel实现,它在MainActivity,SearchMapFragment和SearchListFragment之间共享。 这些视图将所有UI事件传递给视图模型,并观察视图模型中的LiveData变量以了解模型中数据的变化。 SearchViewModel依赖于NearestPlacesRepository通过专用数据源与模型进行交互。 接口和通用数据模型不仅用于将视图模型与模型分离,还用于将基础数据源的模型与API的数据源分离。 这产生了大量的灵活性,并使扩展和维护应用程序变得更
资源推荐
资源详情
资源评论
收起资源包目录
at-lunch-demo (141个子文件)
gradlew.bat 2KB
.gitignore 225B
.gitignore 47B
.gitignore 6B
build.gradle 2KB
build.gradle 665B
settings.gradle 44B
gradlew 5KB
gradle-wrapper.jar 53KB
default_image.jpg 553KB
MainActivity.kt 8KB
OsmMapAdapter.kt 4KB
SearchMapFragment.kt 3KB
SearchListFragment.kt 3KB
GooglePlacesDataSource.kt 3KB
SearchViewModel.kt 3KB
PermissionManager.kt 3KB
PlaceInfoViewHolder.kt 2KB
NearbyPlacesRepository.kt 2KB
FusedLocationDataSource.kt 2KB
SearchResultsRecyclerViewAdapter.kt 2KB
ViewExt.kt 2KB
GooglePlaceService.kt 2KB
SearchViewModelFactory.kt 2KB
LocationSettingsManager.kt 1KB
DataSource.kt 1KB
RoomUserDataSource.kt 993B
MarkerDetailWindow.kt 977B
LocationRequestProvider.kt 884B
ExceptionExt.kt 732B
GooglePlace.kt 691B
ExampleInstrumentedTest.kt 669B
Place.kt 522B
GoogleNearbyPlaceResults.kt 504B
BookmarkDao.kt 495B
GooglePlacePhoto.kt 446B
Bookmark.kt 430B
MapAdapter.kt 390B
GoogleLocation.kt 356B
ExampleUnitTest.kt 345B
ModelTypeConverters.kt 344B
UserDatabase.kt 332B
GoogleGeometry.kt 306B
GooglePlacesStatus.kt 295B
PlaceSearchResults.kt 270B
GeoLocation.kt 205B
ProcessState.kt 183B
LocationSearchQuery.kt 172B
PlacePhoto.kt 125B
README.md 3KB
.name 8B
ic_launcher-playstore.png 13KB
ic_launcher_round.png 11KB
ic_search_round.png 11KB
ic_marker_round.png 10KB
ic_launcher_round.png 8KB
ic_search_round.png 8KB
ic_marker_round.png 7KB
ic_launcher_round.png 5KB
ic_search.png 5KB
ic_search_round.png 5KB
ic_launcher.png 5KB
ic_marker_round.png 4KB
ic_marker.png 4KB
ic_launcher_round.png 3KB
ic_search.png 3KB
ic_search_round.png 3KB
ic_launcher.png 3KB
ic_marker_round.png 3KB
ic_marker.png 3KB
ic_launcher.png 2KB
ic_search.png 2KB
ic_launcher_round.png 2KB
ic_search_round.png 2KB
ic_marker.png 2KB
ic_marker_round.png 2KB
ic_search.png 2KB
ic_launcher.png 2KB
ic_marker.png 1KB
ic_search.png 1KB
ic_launcher.png 1KB
ic_marker.png 966B
ic_heart_outline.png 886B
ic_heart_outline.png 610B
ic_heart_filled.png 604B
ic_heart_outline.png 475B
ic_heart_filled.png 464B
ic_heart_filled.png 367B
ic_heart_outline.png 347B
ic_heart_filled.png 255B
ic_list.png 164B
ic_list.png 143B
ic_list.png 130B
ic_list.png 99B
proguard-rules.pro 750B
gradle.properties 1KB
gradle-wrapper.properties 230B
ic_launcher_background.xml 5KB
search_list_content.xml 2KB
search_list.xml 2KB
共 141 条
- 1
- 2
资源评论
张一库
- 粉丝: 33
- 资源: 4677
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功