Var volleyRequest = RequestQueue?= null is Giving error


#1

var volleyRequest :RequestQueue?= null

compilation error is showing on ide

I am new to Kotlin
please help


#2

The code works fine if you have a RequestQueue class imported or in the package. Whats the compile error?