android - Cannot resolve symbol newRequestQueue - Volley -


i have bit of code in mainactivity file requestqueue queue = new volley.newrequestqueue(this); , reason newrequestqueue part red , when hover on cannot resolve symbol 'newrequestqueue'. how can solve ?

see https://developer.android.com/training/volley/requestqueue.html

try it:

requestqueue queue = volley.newrequestqueue(this); 

Comments

Popular posts from this blog

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -

github - Git errors while pushing -

java - Generating a pre-signed PUT url for Amazon S3 with a maximum content-length -