Skip to content

Cant apply FileCacher method to class extending async task. #1

@Huntero07

Description

@Huntero07


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");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions