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

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -