kosalgeek / FileCacher

The FileCacher is a simple library to cache your object to store in a file in internal storage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant apply FileCacher method to class extending async task.

Huntero07 opened this issue · 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 filecache=new FileCacher(fetchData.this,"xyz.txt");