o.smali
.class public Lcom/sandboxol/googlepay/view/fragment/newrecharge/o;
.super Lcom/sandboxol/common/widget/rv/datarv/DataListModel;
.source "NewRechargeListModel.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/sandboxol/common/widget/rv/datarv/DataListModel<",
"Lcom/sandboxol/googlepay/entity/PayChannelCardInfo;",
">;"
}
.end annotation
# instance fields
.field private a:Landroidx/databinding/ObservableField;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/databinding/ObservableField<",
"Lcom/sandboxol/center/entity/StarCodeUser;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Landroid/content/Context;Landroidx/databinding/ObservableField;I)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Landroidx/databinding/ObservableField<",
"Lcom/sandboxol/center/entity/StarCodeUser;",
">;I)V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p3}, Lcom/sandboxol/common/widget/rv/datarv/DataListModel;-><init>(Landroid/content/Context;I)V
.line 2
iput-object p2, p0, Lcom/sandboxol/googlepay/view/fragment/newrecharge/o;->a:Landroidx/databinding/ObservableField;
return-void
.end method
# virtual methods
.method public a(Lcom/sandboxol/googlepay/entity/PayChannelCardInfo;)Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/sandboxol/googlepay/entity/PayChannelCardInfo;",
")",
"Lcom/sandboxol/common/base/viewmodel/ListItemViewModel<",
"Lcom/sandboxol/googlepay/entity/PayChannelCardInfo;",
">;"
}
.end annotation
.line 1
new-instance v0, Lcom/sandboxol/googlepay/view/fragment/newrecharge/m;
iget-object v1, p0, Lcom/sandboxol/common/base/model/DefaultListModel;->context:Landroid/content/Context;
iget-object v2, p0, Lcom/sandboxol/googlepay/view/fragment/newrecharge/o;->a:Landroidx/databinding/ObservableField;
invoke-direct {v0, v1, p1, v2}, Lcom/sandboxol/googlepay/view/fragment/newrecharge/m;-><init>(Landroid/content/Context;Lcom/sandboxol/googlepay/entity/PayChannelCardInfo;Landroidx/databinding/ObservableField;)V
return-object v0
.end method
.method public bridge synthetic getItemViewModel(Ljava/lang/Object;)Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;
.registers 2
.line 1
check-cast p1, Lcom/sandboxol/googlepay/entity/PayChannelCardInfo;
invoke-virtual {p0, p1}, Lcom/sandboxol/googlepay/view/fragment/newrecharge/o;->a(Lcom/sandboxol/googlepay/entity/PayChannelCardInfo;)Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;
move-result-object p1
return-object p1
.end method
.method public getRefreshToken()Ljava/lang/String;
.registers 2
const-string v0, "pay.refresh.channel.list"
return-object v0
.end method
.method public getViewTypeCount()I
.registers 2
const/4 v0, 0x1
return v0
.end method
.method public onBind(Lme/tatarka/bindingcollectionadapter2/j;ILcom/sandboxol/common/base/viewmodel/ListItemViewModel;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lme/tatarka/bindingcollectionadapter2/j;",
"I",
"Lcom/sandboxol/common/base/viewmodel/ListItemViewModel<",
"Lcom/sandboxol/googlepay/entity/PayChannelCardInfo;",
">;)V"
}
.end annotation
.line 1
sget p2, Lcom/sandboxol/common/BR;->ViewModel:I
sget p3, Lcom/sandboxol/googlepay/R$layout;->pay_item_channle_pay:I
invoke-virtual {p1, p2, p3}, Lme/tatarka/bindingcollectionadapter2/j;->a(II)Lme/tatarka/bindingcollectionadapter2/j;
return-void
.end method
.method public onLoad(Lcom/sandboxol/common/base/web/OnResponseListener;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/sandboxol/common/base/web/OnResponseListener<",
"Ljava/util/List<",
"Lcom/sandboxol/googlepay/entity/PayChannelCardInfo;",
">;>;)V"
}
.end annotation
.line 1
invoke-static {}, Lcom/sandboxol/googlepay/view/fragment/newrecharge/z;->f()Lcom/sandboxol/googlepay/view/fragment/newrecharge/z;
move-result-object v0
invoke-virtual {v0}, Lcom/sandboxol/googlepay/view/fragment/newrecharge/z;->h()Z
move-result v0
if-eqz v0, :cond_20
.line 2
invoke-static {}, Lcom/sandboxol/googlepay/view/fragment/newrecharge/z;->f()Lcom/sandboxol/googlepay/view/fragment/newrecharge/z;
move-result-object v0
invoke-virtual {v0}, Lcom/sandboxol/googlepay/view/fragment/newrecharge/z;->b()Lcom/sandboxol/googlepay/entity/BasePayInfo;
move-result-object v0
invoke-virtual {v0}, Lcom/sandboxol/googlepay/entity/BasePayInfo;->getPayChannelList()Ljava/util/List;
move-result-object v0
invoke-virtual {p1, v0}, Lcom/sandboxol/common/base/web/OnResponseListener;->onSuccess(Ljava/lang/Object;)V
.line 3
invoke-static {}, Lcom/sandboxol/center/utils/DialogUtils;->newsInstant()Lcom/sandboxol/center/utils/DialogUtils;
move-result-object p1
invoke-virtual {p1}, Lcom/sandboxol/center/utils/DialogUtils;->hideLoadingDialog()V
:cond_20
return-void
.end method