224 lines
5.4 KiB
Smali
224 lines
5.4 KiB
Smali
.class public Lcom/vk/discover/DiscoverFragment$a;
|
|
.super Lcom/vk/navigation/Navigator;
|
|
.source "DiscoverFragment.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/vk/discover/DiscoverFragment;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/Class;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"+",
|
|
"Lcom/vk/core/fragments/FragmentImpl;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Lcom/vk/navigation/Navigator;-><init>(Ljava/lang/Class;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Ljava/lang/Class;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 2
|
|
const-class p1, Lcom/vk/discover/DiscoverFragment;
|
|
|
|
:cond_0
|
|
invoke-direct {p0, p1}, Lcom/vk/discover/DiscoverFragment$a;-><init>(Ljava/lang/Class;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Lcom/vk/discover/DiscoverFragment$a;Ljava/lang/String;ILjava/lang/String;ZILjava/lang/Object;)Lcom/vk/discover/DiscoverFragment$a;
|
|
.locals 0
|
|
|
|
if-nez p6, :cond_3
|
|
|
|
and-int/lit8 p6, p5, 0x2
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
const p2, 0x7fffffff
|
|
|
|
:cond_0
|
|
and-int/lit8 p6, p5, 0x4
|
|
|
|
if-eqz p6, :cond_1
|
|
|
|
const/4 p3, 0x0
|
|
|
|
:cond_1
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
const/4 p4, 0x0
|
|
|
|
.line 1
|
|
:cond_2
|
|
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/vk/discover/DiscoverFragment$a;->a(Ljava/lang/String;ILjava/lang/String;Z)Lcom/vk/discover/DiscoverFragment$a;
|
|
|
|
return-object p0
|
|
|
|
.line 2
|
|
:cond_3
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string p1, "Super calls with default arguments not supported in this target, function: withCustomDiscoverId"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/vk/dto/discover/DiscoverCategory$Ref;)Lcom/vk/discover/DiscoverFragment$a;
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4
|
|
iget-object v0, p0, Lcom/vk/navigation/Navigator;->O0:Landroid/os/Bundle;
|
|
|
|
sget-object v1, Lcom/vk/navigation/NavigatorKeys;->Z:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1}, Lcom/vk/dto/discover/DiscoverCategory$Ref;->t1()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 5
|
|
iget-object v0, p0, Lcom/vk/navigation/Navigator;->O0:Landroid/os/Bundle;
|
|
|
|
sget-object v1, Lcom/vk/navigation/NavigatorKeys;->b0:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1}, Lcom/vk/dto/discover/DiscoverCategory$Ref;->v1()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;ILjava/lang/String;Z)Lcom/vk/discover/DiscoverFragment$a;
|
|
.locals 8
|
|
|
|
.line 3
|
|
iget-object v0, p0, Lcom/vk/navigation/Navigator;->O0:Landroid/os/Bundle;
|
|
|
|
new-instance v7, Lcom/vk/discover/DiscoverDataProvider$DiscoverId;
|
|
|
|
sget-object v4, Lcom/vk/dto/discover/DiscoverCategoryType;->DISCOVER:Lcom/vk/dto/discover/DiscoverCategoryType;
|
|
|
|
move-object v1, v7
|
|
|
|
move-object v2, p1
|
|
|
|
move v3, p2
|
|
|
|
move-object v5, p3
|
|
|
|
move v6, p4
|
|
|
|
invoke-direct/range {v1 .. v6}, Lcom/vk/discover/DiscoverDataProvider$DiscoverId;-><init>(Ljava/lang/String;ILcom/vk/dto/discover/DiscoverCategoryType;Ljava/lang/String;Z)V
|
|
|
|
const-string p1, "discover_id"
|
|
|
|
invoke-virtual {v0, p1, v7}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public d()V
|
|
.locals 6
|
|
|
|
.line 1
|
|
invoke-super {p0}, Lcom/vk/navigation/Navigator;->d()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const-string v2, "discover_categories"
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/16 v4, 0xb
|
|
|
|
const/4 v5, 0x0
|
|
|
|
.line 2
|
|
invoke-static/range {v0 .. v5}, Lcom/vk/newsfeed/PostsAnalytics;->a(Lcom/vk/dto/discover/DiscoverItem;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final h()Lcom/vk/discover/DiscoverFragment$a;
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/vk/navigation/Navigator;->O0:Landroid/os/Bundle;
|
|
|
|
const-string v1, "shadow_on_scroll"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final i()Lcom/vk/discover/DiscoverFragment$a;
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/vk/navigation/Navigator;->O0:Landroid/os/Bundle;
|
|
|
|
const-string v1, "tab_mode"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final j()Lcom/vk/discover/DiscoverFragment$a;
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/vk/navigation/Navigator;->O0:Landroid/os/Bundle;
|
|
|
|
const-string v1, "toolbar_mode"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
|
|
|
|
return-object p0
|
|
.end method
|