FileCacher icon indicating copy to clipboard operation
FileCacher copied to clipboard

Cant apply FileCacher method to class extending async task.

Open Huntero07 opened this issue 4 years ago • 0 comments

error i am having a class with an asynchronus task with parameters and i am getting error in passing context as shown in image. Is there any solution for this?

MY class: class fetchData extends AsyncTask<Void, Void, Void> my call :FileCacher<String> filecache=new FileCacher<String>(fetchData.this,"xyz.txt");

Huntero07 avatar Mar 11 '20 07:03 Huntero07