I'm going to pass this retrofit **response ** to a function does somebody know :
how to pass it to a function ? or
how to make it public ? or
how can I copy it :
call.enqueue(new Callback() {
@Override public void onResponse(Call<GetAllJsonDatum> call, Response<GetAllJsonDatum> **response**) {
GetAllJsonDatum is a class. I'm receiving more thank 100000 records and I need to work on these data in background , Now I need to access it a function or make it public to access it outside of public void onResponse(Call call, Response response) or make a copy of this response; thanks