PausedTestFragment$2.smali

.class Lcom/yctpublication/mastes/mytests/PausedTestFragment$2;
.super Ljava/lang/Object;
.source "PausedTestFragment.java"

# interfaces
.implements Lcom/android/volley/Response$ErrorListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/yctpublication/mastes/mytests/PausedTestFragment;->getFinishedAssessments()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/yctpublication/mastes/mytests/PausedTestFragment;


# direct methods
.method constructor <init>(Lcom/yctpublication/mastes/mytests/PausedTestFragment;)V
    .registers 2
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x8010
        }
        names = {
            "this$0"
        }
    .end annotation

    .line 134
    iput-object p1, p0, Lcom/yctpublication/mastes/mytests/PausedTestFragment$2;->this$0:Lcom/yctpublication/mastes/mytests/PausedTestFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onErrorResponse(Lcom/android/volley/VolleyError;)V
    .registers 4
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x0
        }
        names = {
            "error"
        }
    .end annotation

    .line 137
    iget-object v0, p0, Lcom/yctpublication/mastes/mytests/PausedTestFragment$2;->this$0:Lcom/yctpublication/mastes/mytests/PausedTestFragment;

    invoke-virtual {v0}, Lcom/yctpublication/mastes/mytests/PausedTestFragment;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {p1}, Lcom/android/volley/VolleyError;->getMessage()Ljava/lang/String;

    move-result-object p1

    const/4 v1, 0x0

    invoke-static {v0, p1, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/Toast;->show()V

    .line 138
    iget-object p1, p0, Lcom/yctpublication/mastes/mytests/PausedTestFragment$2;->this$0:Lcom/yctpublication/mastes/mytests/PausedTestFragment;

    iget-object p1, p1, Lcom/yctpublication/mastes/mytests/PausedTestFragment;->progressBar:Landroid/widget/ProgressBar;

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/widget/ProgressBar;->setVisibility(I)V

    return-void
.end method