how to create a Request Queue in a static function

30 Views Asked by At
public static List<GasType> getGasTypeList() {
    RequestQueue queue = Volley.newRequestQueue(this);
}

this can not be referenced from a static context

I tried everything I know but still no result.

0

There are 0 best solutions below