PublicServiceSearchFragment$1$1.smali

.class Lio/rong/imkit/fragment/PublicServiceSearchFragment$1$1;
.super Lio/rong/imlib/RongIMClient$ResultCallback;
.source "PublicServiceSearchFragment.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;->onClick(Landroid/view/View;)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lio/rong/imlib/RongIMClient$ResultCallback<",
        "Lio/rong/imlib/model/PublicServiceProfileList;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$1:Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;


# direct methods
.method constructor <init>(Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1$1;->this$1:Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;

    invoke-direct {p0}, Lio/rong/imlib/RongIMClient$ResultCallback;-><init>()V

    return-void
.end method


# virtual methods
.method public onError(Lio/rong/imlib/RongIMClient$ErrorCode;)V
    .registers 2

    .line 1
    iget-object p1, p0, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1$1;->this$1:Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;

    iget-object p1, p1, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;->this$0:Lio/rong/imkit/fragment/PublicServiceSearchFragment;

    # getter for: Lio/rong/imkit/fragment/PublicServiceSearchFragment;->mLoadingDialogFragment:Lio/rong/imkit/widget/LoadingDialogFragment;
    invoke-static {p1}, Lio/rong/imkit/fragment/PublicServiceSearchFragment;->access$000(Lio/rong/imkit/fragment/PublicServiceSearchFragment;)Lio/rong/imkit/widget/LoadingDialogFragment;

    move-result-object p1

    invoke-virtual {p1}, Landroidx/fragment/app/u;->dismiss()V

    return-void
.end method

.method public onSuccess(Lio/rong/imlib/model/PublicServiceProfileList;)V
    .registers 3

    .line 2
    iget-object v0, p0, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1$1;->this$1:Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;

    iget-object v0, v0, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;->this$0:Lio/rong/imkit/fragment/PublicServiceSearchFragment;

    # getter for: Lio/rong/imkit/fragment/PublicServiceSearchFragment;->mAdapter:Lio/rong/imkit/fragment/PublicServiceSearchFragment$PublicServiceListAdapter;
    invoke-static {v0}, Lio/rong/imkit/fragment/PublicServiceSearchFragment;->access$200(Lio/rong/imkit/fragment/PublicServiceSearchFragment;)Lio/rong/imkit/fragment/PublicServiceSearchFragment$PublicServiceListAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lio/rong/imkit/widget/adapter/BaseAdapter;->clear()V

    .line 3
    iget-object v0, p0, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1$1;->this$1:Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;

    iget-object v0, v0, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;->this$0:Lio/rong/imkit/fragment/PublicServiceSearchFragment;

    # getter for: Lio/rong/imkit/fragment/PublicServiceSearchFragment;->mAdapter:Lio/rong/imkit/fragment/PublicServiceSearchFragment$PublicServiceListAdapter;
    invoke-static {v0}, Lio/rong/imkit/fragment/PublicServiceSearchFragment;->access$200(Lio/rong/imkit/fragment/PublicServiceSearchFragment;)Lio/rong/imkit/fragment/PublicServiceSearchFragment$PublicServiceListAdapter;

    move-result-object v0

    invoke-virtual {p1}, Lio/rong/imlib/model/PublicServiceProfileList;->getPublicServiceData()Ljava/util/ArrayList;

    move-result-object p1

    invoke-virtual {v0, p1}, Lio/rong/imkit/widget/adapter/BaseAdapter;->addCollection(Ljava/util/Collection;)V

    .line 4
    iget-object p1, p0, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1$1;->this$1:Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;

    iget-object p1, p1, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;->this$0:Lio/rong/imkit/fragment/PublicServiceSearchFragment;

    # getter for: Lio/rong/imkit/fragment/PublicServiceSearchFragment;->mAdapter:Lio/rong/imkit/fragment/PublicServiceSearchFragment$PublicServiceListAdapter;
    invoke-static {p1}, Lio/rong/imkit/fragment/PublicServiceSearchFragment;->access$200(Lio/rong/imkit/fragment/PublicServiceSearchFragment;)Lio/rong/imkit/fragment/PublicServiceSearchFragment$PublicServiceListAdapter;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    .line 5
    iget-object p1, p0, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1$1;->this$1:Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;

    iget-object p1, p1, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1;->this$0:Lio/rong/imkit/fragment/PublicServiceSearchFragment;

    # getter for: Lio/rong/imkit/fragment/PublicServiceSearchFragment;->mLoadingDialogFragment:Lio/rong/imkit/widget/LoadingDialogFragment;
    invoke-static {p1}, Lio/rong/imkit/fragment/PublicServiceSearchFragment;->access$000(Lio/rong/imkit/fragment/PublicServiceSearchFragment;)Lio/rong/imkit/widget/LoadingDialogFragment;

    move-result-object p1

    invoke-virtual {p1}, Landroidx/fragment/app/u;->dismiss()V

    return-void
.end method

.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
    .registers 2

    .line 1
    check-cast p1, Lio/rong/imlib/model/PublicServiceProfileList;

    invoke-virtual {p0, p1}, Lio/rong/imkit/fragment/PublicServiceSearchFragment$1$1;->onSuccess(Lio/rong/imlib/model/PublicServiceProfileList;)V

    return-void
.end method