a$c.smali

.class public final Lcom/imo/android/imoim/feeds/ui/recommend/a/a$c;
.super Lsg/bigo/svcapi/RequestCallback;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/feeds/ui/recommend/a/a;->a()Landroidx/lifecycle/LiveData;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lsg/bigo/svcapi/RequestCallback<",
        "Lcom/masala/share/proto/protocol/PCS_GetPopularUserDistrictRes;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic $retData:Landroidx/lifecycle/MutableLiveData;


# direct methods
.method constructor <init>(Landroidx/lifecycle/MutableLiveData;)V
    .registers 2

    .line 42
    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/a/a$c;->$retData:Landroidx/lifecycle/MutableLiveData;

    invoke-direct {p0}, Lsg/bigo/svcapi/RequestCallback;-><init>()V

    return-void
.end method


# virtual methods
.method public final onResponse(Lcom/masala/share/proto/protocol/PCS_GetPopularUserDistrictRes;)V
    .registers 4

    const-string v0, "res"

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

    .line 1021
    iget v0, p1, Lcom/masala/share/proto/protocol/PCS_GetPopularUserDistrictRes;->e:I

    if-nez v0, :cond_19

    .line 52
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/a/a$c;->$retData:Landroidx/lifecycle/MutableLiveData;

    sget-object v1, Lcom/imo/android/imoim/feeds/g;->c:Lcom/imo/android/imoim/feeds/g$a;

    invoke-virtual {p1}, Lcom/masala/share/proto/protocol/PCS_GetPopularUserDistrictRes;->h()Ljava/util/ArrayList;

    move-result-object p1

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/g$a;->a(Ljava/lang/Object;)Lcom/imo/android/imoim/feeds/g;

    move-result-object p1

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

    return-void

    .line 54
    :cond_19
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/recommend/a/a$c;->$retData:Landroidx/lifecycle/MutableLiveData;

    sget-object v1, Lcom/imo/android/imoim/feeds/g;->c:Lcom/imo/android/imoim/feeds/g$a;

    .line 2021
    iget p1, p1, Lcom/masala/share/proto/protocol/PCS_GetPopularUserDistrictRes;->e:I

    .line 54
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    const/4 v1, 0x5

    invoke-static {p1, v1}, Lcom/imo/android/imoim/feeds/g$a;->a(Ljava/lang/Integer;I)Lcom/imo/android/imoim/feeds/g;

    move-result-object p1

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

    return-void
.end method

.method public final bridge synthetic onResponse(Lsg/bigo/svcapi/IProtocol;)V
    .registers 2

    .line 42
    check-cast p1, Lcom/masala/share/proto/protocol/PCS_GetPopularUserDistrictRes;

    invoke-virtual {p0, p1}, Lcom/imo/android/imoim/feeds/ui/recommend/a/a$c;->onResponse(Lcom/masala/share/proto/protocol/PCS_GetPopularUserDistrictRes;)V

    return-void
.end method

.method public final onTimeout()V
    .registers 3

    .line 45
    sget-object v0, Lcom/imo/android/imoim/feeds/g;->c:Lcom/imo/android/imoim/feeds/g$a;

    const/4 v0, 0x0

    const/4 v1, 0x7

    invoke-static {v0, v1}, Lcom/imo/android/imoim/feeds/g$a;->a(Ljava/lang/Integer;I)Lcom/imo/android/imoim/feeds/g;

    move-result-object v0

    .line 46
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/recommend/a/a$c;->$retData:Landroidx/lifecycle/MutableLiveData;

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

    return-void
.end method