Did you import it in your class?
import com.android.volley.toolbox.JsonObjectRequest;
The easier way is to use the menu option "Code/Optimize Imports" or the
shorcut available on your operative system.
You will also need to add the dependency to your build.gradle file:
compile
Hi,
I am trying to retrieve a JSON query. I am a beginner so I have copied and
pasted the below model code from
https://developer.android.com/training/volley/request.html. In android
studio every JsonObjectRequest is being highlighted red with the hover-over
error message "Can not resolve
2 matches
Mail list logo