android - 我/系统服务器: oneway function results will be dropped but finished with status OK and parcel size 4

标签 android kotlin

我有时会在 logcat 中看到这个,但不知道它意味着什么。

最佳答案

我通过在函数参数中传递 View 来解决

我的 XML

<TextView
android:onClick="@{ (view) -> handler.showSectionSelectionDialog(view) }"

我的 fragment

fun showSectionSelectionDialog(view: View) {
    Log.d(TAG, "showSectionSelection: clicked")
}

关于android - 我/系统服务器: oneway function results will be dropped but finished with status OK and parcel size 4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63939972/

相关文章:

android - 在 Android Studio 中构建 apk 时,APK 大小大幅增加,即从 3 mb 增加到 20mb

java - 客户端收到 500(GoogleJsonResponseException),尽管应用引擎端点服务器似乎工作正常

android - SQLite 奇怪的行为

kotlin - Kotlin是否具有与Swift的 “DispatchWorkItem”完全相同的功能?

kotlin - 如何检查当前时间是在kotlin中的某个时间之前还是之后

kotlin - 在 Gradle 中使用自定义 SourceSet

android - 过滤自定义适配器 IndexOutOfBoundsException

android - react native 触摸 ID 不起作用

android - 如何显示来自 Android 库的反编译 Kotlin 代码

android - 在 Unix 中显示时间戳,在 Android Kotlin 中显示 UTC