2

I am trying to follow a tutorial on parsing XML data, however he uses a requestQueue and initiates it using Volley. For some reason when I try to use Volley.newRequestQueue(this);, android studio doesn't seem to register Volley as a thing and registers as an error. Any help would be greatly appreciated!

protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_second_maps);
    // Obtain the SupportMapFragment and get notified when the map is ready to be used.
    SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
            .findFragmentById(R.id.map);
    mapFragment.getMapAsync(this);

    requestQueue = Volley.newRequestQueue(this); 
Konrad Krakowiak
  • 12,285
  • 11
  • 58
  • 45
Richard Connon
  • 350
  • 2
  • 14

0 Answers0