var frameLayoutDebug = findViewById<FrameLayout>(R.id.frameLayoutDebug) frameLayoutDebug.visibility=View.VISIBLE
var textViewBuildType = findViewById<TextView>(R.id.textViewBuildType) textViewBuildType.text = BuildConfig.BUILD_TYPE + " 内测版"
Java 用法
runOnUiThread(() -> { });
切到 Kotlin
runOnUiThread { qrcodeFrameLayout.visibility = View.VISIBLE }