apkfuckery/com.discord/smali/WidgetRemoteAuthViewModel$c.smali

63 lines
1.6 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final LWidgetRemoteAuthViewModel$c;
.super Ljava/lang/Object;
.source "WidgetRemoteAuthViewModel.kt"
# interfaces
.implements Landroidx/lifecycle/ViewModelProvider$Factory;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = LWidgetRemoteAuthViewModel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c"
.end annotation
# instance fields
.field public final a:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, LWidgetRemoteAuthViewModel$c;->a:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Landroidx/lifecycle/ViewModel;",
">(",
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
new-instance p1, LWidgetRemoteAuthViewModel;
iget-object v0, p0, LWidgetRemoteAuthViewModel$c;->a:Ljava/lang/String;
sget-object v1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {v1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v1
invoke-direct {p1, v0, v1}, LWidgetRemoteAuthViewModel;-><init>(Ljava/lang/String;Lcom/discord/utilities/rest/RestAPI;)V
return-object p1
.end method