2020-07-08 16:44:49 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;
|
2020-07-25 00:57:58 +00:00
|
|
|
.super Lj0/n/c/i;
|
2020-07-08 16:44:49 +00:00
|
|
|
.source "StoreGifPicker.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-07-23 01:06:17 +00:00
|
|
|
.implements Lkotlin/jvm/functions/Function0;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/stores/StoreGifPicker;->observeGifsForSearchQuery(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-25 00:57:58 +00:00
|
|
|
"Lj0/n/c/i;",
|
2020-07-23 01:06:17 +00:00
|
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
2020-07-08 16:44:49 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $query:Ljava/lang/String;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreGifPicker;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-22 00:04:40 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/stores/StoreGifPicker;Ljava/lang/String;)V
|
|
|
|
.locals 0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;->this$0:Lcom/discord/stores/StoreGifPicker;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;->$query:Ljava/lang/String;
|
2020-07-22 00:04:40 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
const/4 p1, 0x0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-direct {p0, p1}, Lj0/n/c/i;-><init>(I)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-07-23 01:06:17 +00:00
|
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
|
|
.locals 1
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;->invoke()V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
2020-07-22 00:04:40 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
return-object v0
|
2020-07-08 16:44:49 +00:00
|
|
|
.end method
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
.method public final invoke()V
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 3
|
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;->this$0:Lcom/discord/stores/StoreGifPicker;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$getGifSearchHistory$p(Lcom/discord/stores/StoreGifPicker;)Lcom/discord/stores/StoreGifPicker$CacheHistory;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
move-result-object v0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;->$query:Ljava/lang/String;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/util/LinkedHashMap;->containsKey(Ljava/lang/Object;)Z
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
move-result v0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
if-nez v0, :cond_0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;->this$0:Lcom/discord/stores/StoreGifPicker;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreGifPicker;->access$getGifSearchHistory$p(Lcom/discord/stores/StoreGifPicker;)Lcom/discord/stores/StoreGifPicker$CacheHistory;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
move-result-object v0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;->$query:Ljava/lang/String;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
sget-object v2, Lcom/discord/stores/StoreGifPicker;->Companion:Lcom/discord/stores/StoreGifPicker$Companion;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreGifPicker$Companion;->getSearchResultsLoadingList()Ljava/util/List;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
move-result-object v2
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-interface {v0, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;->this$0:Lcom/discord/stores/StoreGifPicker;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreGifPicker$observeGifsForSearchQuery$1;->$query:Ljava/lang/String;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-07-23 01:06:17 +00:00
|
|
|
invoke-static {v0, v1}, Lcom/discord/stores/StoreGifPicker;->access$fetchGifsForSearchQuery(Lcom/discord/stores/StoreGifPicker;Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-07-23 01:06:17 +00:00
|
|
|
return-void
|
2020-07-08 16:44:49 +00:00
|
|
|
.end method
|