<Call funtion from another page - there is an erro...
# forum
r
Call funtion from another page - there is an error: cannot find symbol Hi, I’ve got a “error: cannot find symbol” problem. Example: Page 1: @JvmStatic // maybe, I don’t know fun text(text: String?, show: Boolean?, result: Boolean) { if (result) { viewBinding?.buttonRun?.setVisibility(View.GONE) viewBinding?.buttonDone?.setVisibility(View.VISIBLE) viewBinding?.uploadDoneText?.setVisibility(View.VISIBLE) } else { viewBinding?.buttonRun?.setText(text) if (show != null) { viewBinding?.buttonRun?.setEnabled(show) } } } Page 2:...