Kotlin中的MVVM架构:JavaScript和Android混合

此POC应用程序展示了如何使用Kotlin实现MVVM架构,将模型、视图和视图模型定义在嵌入式客户端JavaScript和Android中。它使用数据绑定库来增强用户体验和性能,同时通过JavaScript处理业务逻辑和原生开发UI来实现敏捷性和可维护性。

zip
V8KAndy-master.zip 预估大小:89个文件
folder
V8KAndy-master 文件夹
file
.gitignore 815B
folder
app 文件夹
file
.gitignore 7B
file
build.gradle 4KB
folder
src 文件夹
folder
androidTest 文件夹
folder
java 文件夹
folder
com 文件夹
folder
imnotout 文件夹
folder
kandyv8hook 文件夹
file
ExampleInstrumentedTest.kt 674B
folder
main 文件夹
file
AndroidManifest.xml 929B
folder
res 文件夹
folder
mipmap-xhdpi 文件夹
file
ic_launcher_round.png 7KB
file
ic_launcher.png 4KB
folder
mipmap-mdpi 文件夹
file
ic_launcher_round.png 3KB
file
ic_launcher.png 2KB
folder
mipmap-xxhdpi 文件夹
file
ic_launcher_round.png 10KB
file
ic_launcher.png 6KB
folder
menu 文件夹
file
establishment_options_menu.xml 571B
file
comment_options_menu.xml 571B
folder
drawable 文件夹
file
edit_options.png 733B
file
error.png 1KB
file
ic_launcher_background.xml 6KB
file
loading.png 2KB
folder
mipmap-anydpi-v26 文件夹
file
ic_launcher_round.xml 276B
file
ic_launcher.xml 276B
folder
drawable-v24 文件夹
file
ic_launcher_foreground.xml 2KB
folder
mipmap-hdpi 文件夹
file
ic_launcher_round.png 5KB
file
ic_launcher.png 3KB
folder
mipmap-xxxhdpi 文件夹
file
ic_launcher_round.png 15KB
file
ic_launcher.png 9KB
folder
layouts 文件夹
folder
launcher 文件夹
folder
layout 文件夹
file
activity_launcher.xml 498B
folder
main 文件夹
folder
layout 文件夹
file
list_item_hotel_layout.xml 863B
file
list_item_establishment_layout.xml 2KB
file
list_item_comment_layout.xml 1KB
file
activity_main.xml 2KB
file
list_item_restaurant_layout.xml 874B
file
fragment_create_edit_comment.xml 1KB
file
list_item_theatre_layout.xml 887B
file
content_comments_section.xml 786B
folder
values 文件夹
file
strings.xml 77B
file
colors.xml 512B
file
styles.xml 394B
folder
assets 文件夹
folder
js 文件夹
file
app.bundle.js 64KB
folder
java 文件夹
folder
com 文件夹
folder
imnotout 文件夹
folder
kandyv8hook 文件夹
folder
Utils 文件夹
file
EventEmitter.kt 2KB
folder
ViewAdapters 文件夹
file
EstablishmentArrayAdapter.kt 7KB
file
CommentsArrayAdapter.kt 3KB
folder
Views 文件夹
file
CreateEditCommentFragment.kt 1KB
file
MainActivity.kt 2KB
file
LauncherActivity.kt 1KB
file
IActionListener.kt 673B
folder
NetworkIO 文件夹
file
MoshiBuilder.kt 2KB
file
RuntimeJsonAdapterFactory.java 6KB
file
HttpService.kt 1KB
file
GlideModule.kt 782B
file
OkHttpCallAwait.kt 2KB
folder
JavaScriptBridge 文件夹
file
PathParser.kt 1KB
file
JavaScriptApi.kt 3KB
file
JsUtil.kt 896B
folder
ViewModels 文件夹
file
ViewModel.kt 3KB
file
AndroidApplication.kt 2KB
folder
Models 文件夹
file
UtilModels.kt 192B
file
AppModels.kt 3KB
folder
test 文件夹
folder
java 文件夹
folder
com 文件夹
folder
imnotout 文件夹
folder
kandyv8hook 文件夹
file
ExampleUnitTest.kt 366B
file
proguard-rules.pro 2KB
file
settings.gradle 16B
file
build.gradle 1KB
file
gradlew 5KB
file
LICENSE 1KB
folder
js 文件夹
file
.jshintrc 24B
file
.gitignore 578B
file
package.json 668B
file
package-lock.json 80KB
file
webpack.config.js 2KB
folder
models 文件夹
file
registry.js 828B
file
launcher.js 157B
file
comment.js 175B
file
index.js 286B
file
hotel.js 308B
file
restaurant.js 325B
file
theatre.js 326B
file
establishment.js 1KB
folder
iAmApp 文件夹
file
launcherVM.js 265B
file
index.js 608B
file
mainVM.js 903B
file
iAmAjax.js 2KB
folder
utils 文件夹
file
console.js 647B
file
pathParser.js 280B
folder
config 文件夹
file
bluebird.js 270B
folder
json 文件夹
file
establishmentRegistry.json 2KB
file
bundle.js 679B
file
README.md 1KB
file
gradlew.bat 2KB
file
gradle.properties 747B
folder
gradle 文件夹
folder
wrapper 文件夹
file
gradle-wrapper.properties 236B
file
gradle-wrapper.jar 52KB
...
zip 文件大小:209.55KB