ImageLoadCompatUtils$1.smali

.class Lcom/hurizem/untils/ImageLoadCompatUtils$1;
.super Lcom/nostra13/universalimageloader/core/listener/SimpleImageLoadingListener;
.source "ImageLoadCompatUtils.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/hurizem/untils/ImageLoadCompatUtils;->loadImage(Landroid/widget/ImageView;Ljava/lang/String;Lcom/hurizem/untils/ImageLoadCompatUtils$ImageLoadListener;)V
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/hurizem/untils/ImageLoadCompatUtils;

.field final synthetic val$imageLoadLictener:Lcom/hurizem/untils/ImageLoadCompatUtils$ImageLoadListener;


# direct methods
.method constructor <init>(Lcom/hurizem/untils/ImageLoadCompatUtils;Lcom/hurizem/untils/ImageLoadCompatUtils$ImageLoadListener;)V
    .registers 3
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x8010,
            0x1010
        }
        names = {
            "this$0",
            "val$imageLoadLictener"
        }
    .end annotation

    .line 58
    iput-object p1, p0, Lcom/hurizem/untils/ImageLoadCompatUtils$1;->this$0:Lcom/hurizem/untils/ImageLoadCompatUtils;

    iput-object p2, p0, Lcom/hurizem/untils/ImageLoadCompatUtils$1;->val$imageLoadLictener:Lcom/hurizem/untils/ImageLoadCompatUtils$ImageLoadListener;

    invoke-direct {p0}, Lcom/nostra13/universalimageloader/core/listener/SimpleImageLoadingListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onLoadingComplete(Ljava/lang/String;Landroid/view/View;Landroid/graphics/Bitmap;)V
    .registers 4
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x0,
            0x0,
            0x0
        }
        names = {
            "imageUri",
            "view",
            "loadedImage"
        }
    .end annotation

    .line 63
    iget-object p1, p0, Lcom/hurizem/untils/ImageLoadCompatUtils$1;->val$imageLoadLictener:Lcom/hurizem/untils/ImageLoadCompatUtils$ImageLoadListener;

    invoke-interface {p1, p3}, Lcom/hurizem/untils/ImageLoadCompatUtils$ImageLoadListener;->onSucceedLoad(Landroid/graphics/Bitmap;)V

    return-void
.end method

.method public onLoadingFailed(Ljava/lang/String;Landroid/view/View;Lcom/nostra13/universalimageloader/core/assist/FailReason;)V
    .registers 4
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x0,
            0x0,
            0x0
        }
        names = {
            "imageUri",
            "view",
            "failReason"
        }
    .end annotation

    .line 60
    iget-object p1, p0, Lcom/hurizem/untils/ImageLoadCompatUtils$1;->val$imageLoadLictener:Lcom/hurizem/untils/ImageLoadCompatUtils$ImageLoadListener;

    invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/assist/FailReason;->getCause()Ljava/lang/Throwable;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;

    move-result-object p2

    invoke-interface {p1, p2}, Lcom/hurizem/untils/ImageLoadCompatUtils$ImageLoadListener;->onFailLoad(Ljava/lang/String;)V

    return-void
.end method