Skip to content

I have a problem with @Override #7

@KasimovAskar

Description

@KasimovAskar

@OverRide
public void callbackWithReturnValue(Boolean result) {
String message = result ? "Success" : "Failed!";
Toast.makeText(this,message,Toast.LENGTH_SHORT).show();
}

@Override
public void onProgressUpdate(Boolean... booleans) {
    Toast.makeText(this, booleans[0] ? "We started writing" : "We could not write!",Toast.LENGTH_SHORT).show();
}

@Override
public void onError(Exception e) {
    Toast.makeText(this,e.getMessage(),Toast.LENGTH_SHORT).show();
}

In this code @OverRide doesnt work (my IDE doesnt let me do it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions