apkfuckery/com.discord/smali/com/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$...

99 lines
3.5 KiB
Smali
Raw Normal View History

2020-07-14 22:43:59 +00:00
.class public final Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2$1;
.super Ljava/lang/Object;
.source "GifSearchViewModel.kt"
# interfaces
2020-07-22 00:04:40 +00:00
.implements Lrx/functions/Func2;
2020-07-14 22:43:59 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2;->call(Ljava/lang/String;)Lrx/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-22 00:04:40 +00:00
"<T1:",
"Ljava/lang/Object;",
"T2:",
2020-07-14 22:43:59 +00:00
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-07-22 00:04:40 +00:00
"Lrx/functions/Func2<",
"TT1;TT2;TR;>;"
2020-07-14 22:43:59 +00:00
}
.end annotation
2020-07-22 00:04:40 +00:00
# instance fields
.field public final synthetic this$0:Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2;
2020-07-14 22:43:59 +00:00
# direct methods
2020-07-22 00:04:40 +00:00
.method public constructor <init>(Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2;)V
2020-07-20 19:00:44 +00:00
.locals 0
2020-07-14 22:43:59 +00:00
2020-07-22 00:04:40 +00:00
iput-object p1, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2$1;->this$0:Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2;
2020-07-14 22:43:59 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-07-22 00:04:40 +00:00
.method public final call(Ljava/util/List;Ljava/util/List;)Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$StoreState$SearchResults;
.locals 2
2020-07-20 19:00:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
2020-07-22 00:04:40 +00:00
"Ljava/lang/String;",
">;",
"Ljava/util/List<",
2020-07-20 19:00:44 +00:00
"Lcom/discord/models/gifpicker/dto/ModelGif;",
2020-07-22 00:04:40 +00:00
">;)",
"Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$StoreState$SearchResults;"
2020-07-20 19:00:44 +00:00
}
.end annotation
2020-07-14 22:43:59 +00:00
2020-07-22 00:04:40 +00:00
new-instance v0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$StoreState$SearchResults;
2020-07-14 22:43:59 +00:00
2020-07-22 00:04:40 +00:00
const-string v1, "results"
2020-07-14 22:43:59 +00:00
2020-07-22 00:04:40 +00:00
invoke-static {p2, v1}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
2020-07-22 00:04:40 +00:00
const-string v1, "terms"
2020-07-14 22:43:59 +00:00
2020-07-22 00:04:40 +00:00
invoke-static {p1, v1}, Li0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-14 22:43:59 +00:00
2020-07-22 00:04:40 +00:00
iget-object v1, p0, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2$1;->this$0:Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2;
2020-07-14 22:43:59 +00:00
2020-07-22 00:04:40 +00:00
iget-object v1, v1, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2;->$trendingSearchTerms:Ljava/util/List;
2020-07-14 22:43:59 +00:00
2020-07-22 00:04:40 +00:00
invoke-direct {v0, p2, p1, v1}, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$StoreState$SearchResults;-><init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
return-object v0
.end method
.method public bridge synthetic call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/util/List;
check-cast p2, Ljava/util/List;
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$Factory$observeQueryState$2$1;->call(Ljava/util/List;Ljava/util/List;)Lcom/discord/widgets/chat/input/gifpicker/GifSearchViewModel$StoreState$SearchResults;
move-result-object p1
return-object p1
2020-07-14 22:43:59 +00:00
.end method