Files
vtosters/smali/smali_classes2/com/vk/fave/FaveController$e.smali
T
2022-03-24 19:37:43 +03:00

129 lines
3.0 KiB
Smali

.class final Lcom/vk/fave/FaveController$e;
.super Ljava/lang/Object;
.source "FaveController.kt"
# interfaces
.implements Lio/reactivex/functions/Consumer;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/vk/fave/FaveController;->a(ILjava/lang/Integer;I)Lio/reactivex/Observable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lio/reactivex/functions/Consumer<",
"Lcom/vk/fave/entities/FavesWithPages;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:I
# direct methods
.method constructor <init>(I)V
.locals 0
iput p1, p0, Lcom/vk/fave/FaveController$e;->a:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lcom/vk/fave/entities/FavesWithPages;)V
.locals 1
.line 412
iget v0, p0, Lcom/vk/fave/FaveController$e;->a:I
if-nez v0, :cond_0
invoke-virtual {p1}, Lcom/vk/fave/entities/FavesWithPages;->a()Lcom/vk/fave/entities/FaveGetResult;
move-result-object v0
invoke-virtual {v0}, Lcom/vk/fave/entities/FaveGetResult;->a()Ljava/util/List;
move-result-object v0
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
sget-object p1, Lcom/vk/fave/FaveCache;->a:Lcom/vk/fave/FaveCache;
invoke-virtual {p1}, Lcom/vk/fave/FaveCache;->b()V
goto :goto_0
.line 413
:cond_0
invoke-virtual {p1}, Lcom/vk/fave/entities/FavesWithPages;->a()Lcom/vk/fave/entities/FaveGetResult;
move-result-object v0
invoke-virtual {v0}, Lcom/vk/fave/entities/FaveGetResult;->a()Ljava/util/List;
move-result-object v0
check-cast v0, Ljava/util/Collection;
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
xor-int/lit8 v0, v0, 0x1
if-eqz v0, :cond_1
sget-object v0, Lcom/vk/fave/FaveCache;->a:Lcom/vk/fave/FaveCache;
invoke-virtual {p1}, Lcom/vk/fave/entities/FavesWithPages;->a()Lcom/vk/fave/entities/FaveGetResult;
move-result-object p1
invoke-virtual {p1}, Lcom/vk/fave/entities/FaveGetResult;->a()Ljava/util/List;
move-result-object p1
invoke-virtual {v0, p1}, Lcom/vk/fave/FaveCache;->a(Ljava/util/List;)V
.line 415
:cond_1
:goto_0
sget-object p1, Lcom/vk/fave/FaveController$getFavesWithPages$1;->a:Lcom/vk/fave/FaveController$getFavesWithPages$1;
invoke-virtual {p1}, Lcom/vk/fave/FaveController$getFavesWithPages$1;->b()V
return-void
.end method
.method public bridge synthetic a(Ljava/lang/Object;)V
.locals 0
.line 54
check-cast p1, Lcom/vk/fave/entities/FavesWithPages;
invoke-virtual {p0, p1}, Lcom/vk/fave/FaveController$e;->a(Lcom/vk/fave/entities/FavesWithPages;)V
return-void
.end method