Skip to content

Commit b7e2e62

Browse files
committed
1、新增@Site时序。解决异步并发相同请求时,监听响应的数据无法区分先后顺序问题
2、编译性能优化。编译生成速度提升25%
1 parent 55f53b6 commit b7e2e62

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

app/src/main/java/com/hearthappy/viewmodelautomation/ui/MainActivity.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import com.hearthappy.viewmodelautomation.ui.base.BaseActivity
2222
*
2323
* 测试用例:
2424
* 1、参考requestClass中@Request的注解参数,传入请求类型,url(注意:requestClass必须是data class类型)
25-
* 2、
2625
*
2726
* @property viewModel MainViewModel
2827
*/
@@ -39,8 +38,6 @@ class MainActivity: BaseActivity() {
3938
viewBinding = ActivityMainBinding.inflate(layoutInflater)
4039
setContentView(viewBinding.root)
4140

42-
43-
4441
viewBinding.apply {
4542
viewModelListener()
4643

ktorexpand/src/main/java/com/hearthappy/ktorexpand/code/network/KtorHttpClient.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package com.hearthappy.ktorexpand.code.network
33
import io.ktor.client.*
44
import io.ktor.client.engine.*
55
import io.ktor.client.engine.okhttp.*
6-
import io.ktor.client.plugins.*
76
import io.ktor.client.plugins.contentnegotiation.*
87
import io.ktor.client.plugins.logging.*
98
import io.ktor.serialization.gson.*

0 commit comments

Comments
 (0)