a.smali

.class public final Lcom/singbox/component/fresco/a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/singbox/component/fresco/b;


# static fields
.field public static final a:Lcom/singbox/component/fresco/a;


# instance fields
.field private final synthetic b:Lcom/singbox/component/fresco/b;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .line 10
    new-instance v0, Lcom/singbox/component/fresco/a;

    invoke-direct {v0}, Lcom/singbox/component/fresco/a;-><init>()V

    sput-object v0, Lcom/singbox/component/fresco/a;->a:Lcom/singbox/component/fresco/a;

    return-void
.end method

.method private constructor <init>()V
    .registers 3

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

    .line 11
    const-class v0, Lcom/singbox/component/fresco/b;

    invoke-static {v0}, Lsg/bigo/mobile/android/a/a/a;->a(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_10

    .line 10
    check-cast v0, Lcom/singbox/component/fresco/b;

    iput-object v0, p0, Lcom/singbox/component/fresco/a;->b:Lcom/singbox/component/fresco/b;

    return-void

    :cond_10
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "must impl [IFrescoService] first"

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    check-cast v0, Ljava/lang/Throwable;

    throw v0
.end method


# virtual methods
.method public final a()V
    .registers 2

    iget-object v0, p0, Lcom/singbox/component/fresco/a;->b:Lcom/singbox/component/fresco/b;

    invoke-interface {v0}, Lcom/singbox/component/fresco/b;->a()V

    return-void
.end method

.method public final a(Landroid/net/Uri;Landroid/content/Context;)V
    .registers 4

    iget-object v0, p0, Lcom/singbox/component/fresco/a;->b:Lcom/singbox/component/fresco/b;

    invoke-interface {v0, p1, p2}, Lcom/singbox/component/fresco/b;->a(Landroid/net/Uri;Landroid/content/Context;)V

    return-void
.end method

.method public final a(Landroid/net/Uri;Landroid/content/Context;Lkotlin/f/a/b;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/net/Uri;",
            "Landroid/content/Context;",
            "Lkotlin/f/a/b<",
            "-",
            "Landroid/graphics/Bitmap;",
            "Lkotlin/w;",
            ">;)V"
        }
    .end annotation

    iget-object v0, p0, Lcom/singbox/component/fresco/a;->b:Lcom/singbox/component/fresco/b;

    invoke-interface {v0, p1, p2, p3}, Lcom/singbox/component/fresco/b;->a(Landroid/net/Uri;Landroid/content/Context;Lkotlin/f/a/b;)V

    return-void
.end method

.method public final b(Landroid/net/Uri;Landroid/content/Context;)Landroidx/lifecycle/MutableLiveData;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/net/Uri;",
            "Landroid/content/Context;",
            ")",
            "Landroidx/lifecycle/MutableLiveData<",
            "Landroid/graphics/Bitmap;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lcom/singbox/component/fresco/a;->b:Lcom/singbox/component/fresco/b;

    invoke-interface {v0, p1, p2}, Lcom/singbox/component/fresco/b;->b(Landroid/net/Uri;Landroid/content/Context;)Landroidx/lifecycle/MutableLiveData;

    move-result-object p1

    return-object p1
.end method

.method public final b()Lcom/facebook/imagepipeline/core/ImagePipeline;
    .registers 2

    iget-object v0, p0, Lcom/singbox/component/fresco/a;->b:Lcom/singbox/component/fresco/b;

    invoke-interface {v0}, Lcom/singbox/component/fresco/b;->b()Lcom/facebook/imagepipeline/core/ImagePipeline;

    move-result-object v0

    return-object v0
.end method