I am getting the following error TextView - findviewbyid kotlin

53 views Asked by At

`enter image description here

the "- findViewById(R.id.signUpText)" getting error in android studio and the error message show below

Error Message:

Unexpected tokens (use ';' to separate expressions on the same line)

can you guys help me to solve this error?`

1

There are 1 answers

0
pranav malayil On

Change - to =

example

val tetxViewName:TextView=findViewById(R.id.textViewId)