Files
vtosters/smali/smali_classes4/com/vk/wall/thread/CommentThreadPresenter$h.smali
T

128 lines
3.3 KiB
Smali

.class final Lcom/vk/wall/thread/CommentThreadPresenter$h;
.super Ljava/lang/Object;
.source "CommentThreadPresenter.kt"
# interfaces
.implements Lio/reactivex/functions/Consumer;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/vk/wall/thread/CommentThreadPresenter;->a(Lio/reactivex/Observable;ZLcom/vk/lists/PaginationHelper;)V
.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<",
"Ljava/lang/Throwable;",
">;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/vk/wall/thread/CommentThreadPresenter;
.field final synthetic b:Z
# direct methods
.method constructor <init>(Lcom/vk/wall/thread/CommentThreadPresenter;Z)V
.locals 0
iput-object p1, p0, Lcom/vk/wall/thread/CommentThreadPresenter$h;->a:Lcom/vk/wall/thread/CommentThreadPresenter;
iput-boolean p2, p0, Lcom/vk/wall/thread/CommentThreadPresenter$h;->b:Z
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Ljava/lang/Throwable;)V
.locals 2
.line 1
iget-boolean v0, p0, Lcom/vk/wall/thread/CommentThreadPresenter$h;->b:Z
if-nez v0, :cond_0
instance-of v0, p1, Lcom/vk/api/sdk/exceptions/VKApiExecutionException;
if-eqz v0, :cond_0
.line 2
sget-object v0, Lcom/vk/core/util/AppContextHolder;->a:Landroid/content/Context;
move-object v1, p1
check-cast v1, Lcom/vk/api/sdk/exceptions/VKApiExecutionException;
invoke-static {v0, v1}, Lcom/vk/api/base/ApiUtils;->b(Landroid/content/Context;Lcom/vk/api/sdk/exceptions/VKApiExecutionException;)V
.line 3
:cond_0
iget-boolean v0, p0, Lcom/vk/wall/thread/CommentThreadPresenter$h;->b:Z
if-eqz v0, :cond_1
.line 4
iget-object v0, p0, Lcom/vk/wall/thread/CommentThreadPresenter$h;->a:Lcom/vk/wall/thread/CommentThreadPresenter;
invoke-virtual {v0}, Lcom/vk/wall/thread/CommentThreadPresenter;->G()Lcom/vk/wall/CommentsListContract2;
move-result-object v0
invoke-interface {v0}, Lcom/vk/wall/CommentsListContract2;->J2()V
.line 5
:cond_1
instance-of v0, p1, Lcom/vk/api/sdk/exceptions/VKApiExecutionException;
if-eqz v0, :cond_2
check-cast p1, Lcom/vk/api/sdk/exceptions/VKApiExecutionException;
invoke-virtual {p1}, Lcom/vk/api/sdk/exceptions/VKApiExecutionException;->d()I
move-result p1
const/16 v0, 0xf
if-ne p1, v0, :cond_2
.line 6
iget-object p1, p0, Lcom/vk/wall/thread/CommentThreadPresenter$h;->a:Lcom/vk/wall/thread/CommentThreadPresenter;
invoke-virtual {p1}, Lcom/vk/wall/thread/CommentThreadPresenter;->G()Lcom/vk/wall/CommentsListContract2;
move-result-object p1
invoke-interface {p1}, Lcom/vk/wall/CommentsListContract2;->k3()V
:cond_2
return-void
.end method
.method public bridge synthetic accept(Ljava/lang/Object;)V
.locals 0
.line 1
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, Lcom/vk/wall/thread/CommentThreadPresenter$h;->a(Ljava/lang/Throwable;)V
return-void
.end method