CommunityCreateViewModel$e.smali

.class final Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$e;
.super Lkotlin/f/b/p;
.source "SourceFile"

# interfaces
.implements Lkotlin/f/a/m;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lkotlin/f/b/p;",
        "Lkotlin/f/a/m<",
        "Lcom/imo/android/imoim/community/c/g;",
        "Ljava/io/File;",
        "Lkotlin/w;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$e;->a:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;

    const/4 p1, 0x2

    invoke-direct {p0, p1}, Lkotlin/f/b/p;-><init>(I)V

    return-void
.end method


# virtual methods
.method public final synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 6

    .line 38
    check-cast p1, Lcom/imo/android/imoim/community/c/g;

    check-cast p2, Ljava/io/File;

    const-string v0, "downloadResult"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 1113
    sget-object v0, Lcom/imo/android/imoim/community/community/create/c;->a:[I

    invoke-virtual {p1}, Lcom/imo/android/imoim/community/c/g;->ordinal()I

    move-result p1

    aget p1, v0, p1

    const/4 v0, 0x1

    const/4 v1, 0x2

    const/4 v2, 0x0

    if-eq p1, v0, :cond_2a

    if-eq p1, v1, :cond_19

    goto :goto_5b

    .line 1125
    :cond_19
    iget-object p1, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$e;->a:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;

    invoke-static {p1}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;->d(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;)Landroidx/lifecycle/MutableLiveData;

    move-result-object p1

    new-instance p2, Lcom/imo/android/imoim/community/community/data/bean/o;

    sget-object v0, Lcom/imo/android/imoim/community/community/data/bean/q;->FAILURE:Lcom/imo/android/imoim/community/community/data/bean/q;

    invoke-direct {p2, v0, v2, v1, v2}, Lcom/imo/android/imoim/community/community/data/bean/o;-><init>(Lcom/imo/android/imoim/community/community/data/bean/q;Ljava/lang/String;ILkotlin/f/b/j;)V

    invoke-virtual {p1, p2}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V

    goto :goto_5b

    :cond_2a
    if-eqz p2, :cond_31

    .line 1115
    invoke-virtual {p2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object p1

    goto :goto_32

    :cond_31
    move-object p1, v2

    .line 1116
    :goto_32
    move-object p2, p1

    check-cast p2, Ljava/lang/CharSequence;

    if-eqz p2, :cond_3f

    invoke-interface {p2}, Ljava/lang/CharSequence;->length()I

    move-result p2

    if-nez p2, :cond_3e

    goto :goto_3f

    :cond_3e
    const/4 v0, 0x0

    :cond_3f
    :goto_3f
    if-nez v0, :cond_4b

    .line 1117
    iget-object p2, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$e;->a:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;

    invoke-static {p2}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;->e(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;)Landroidx/lifecycle/MutableLiveData;

    move-result-object p2

    invoke-virtual {p2, p1}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V

    goto :goto_5b

    .line 1119
    :cond_4b
    iget-object p1, p0, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel$e;->a:Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;

    invoke-static {p1}, Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;->d(Lcom/imo/android/imoim/community/community/create/CommunityCreateViewModel;)Landroidx/lifecycle/MutableLiveData;

    move-result-object p1

    new-instance p2, Lcom/imo/android/imoim/community/community/data/bean/o;

    sget-object v0, Lcom/imo/android/imoim/community/community/data/bean/q;->FAILURE:Lcom/imo/android/imoim/community/community/data/bean/q;

    invoke-direct {p2, v0, v2, v1, v2}, Lcom/imo/android/imoim/community/community/data/bean/o;-><init>(Lcom/imo/android/imoim/community/community/data/bean/q;Ljava/lang/String;ILkotlin/f/b/j;)V

    invoke-virtual {p1, p2}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V

    .line 38
    :goto_5b
    sget-object p1, Lkotlin/w;->a:Lkotlin/w;

    return-object p1
.end method