Android代码-AndroidViewModel

时间:2022-08-27 11:40:57
【文件属性】:

文件名称:Android代码-AndroidViewModel

文件大小:758KB

文件格式:ZIP

更新时间:2022-08-27 11:40:57

Android代码

AndroidViewModel Separating data and state handling from Fragments or Activities without lots of boilerplate-code. Reducing them to simple dumb views. Basic idea behind this library. An instance of a ViewModel class is assigned to your Fragment or Activity during the first creation and is kept during it's life cycle, even between display orientation changes. The ViewModel instance is removed after the Fragment or Activity is completely gone (finished, popped from backstack, replaced without keep


【文件预览】:
AndroidViewModel-master
----.gitignore(555B)
----gradle()
--------wrapper()
----README.md(8KB)
----build.gradle(288B)
----library()
--------.gitignore(7B)
--------build.gradle(2KB)
--------proguard-rules.pro(759B)
--------src()
----CHANGELOG.md(4KB)
----gradlew.bat(2KB)
----gradlew(5KB)
----LICENSE(11KB)
----website()
--------static()
----gradle.properties(927B)
----template()
--------template-preview.png(339KB)
--------create-new-template-preview.png(253KB)
--------AVM_Inloop()
----sample()
--------.gitignore(7B)
--------build.gradle(1KB)
--------proguard-rules.pro(686B)
--------src()
----settings.gradle(30B)

网友评论