2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
|
|
|
.super Lcom/discord/app/AppFragment;
|
|
|
|
.source "WidgetChannelsList.kt"
|
|
|
|
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/widgets/channels/list/WidgetChannelsList$Companion;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
# static fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
.field public static final BANNER_TEXT_SHADOW_DX:F = 0.0f
|
|
|
|
|
|
|
|
.field public static final BANNER_TEXT_SHADOW_DY:F = 4.0f
|
|
|
|
|
|
|
|
.field public static final BANNER_TEXT_SHADOW_RADIUS:F = 2.0f
|
|
|
|
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/channels/list/WidgetChannelsList$Companion;
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# instance fields
|
2020-01-28 00:59:01 +00:00
|
|
|
.field public _$_findViewCache:Ljava/util/HashMap;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final appBarLayout$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public channelListUnreads:Lcom/discord/widgets/channels/list/WidgetChannelListUnreads;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final channelListUnreadsStub$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final channelsBanner$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final channelsHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final channelsList$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final channelsSearch$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final channelsSearchToolbar$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
.field public final channeslBannerForeground$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final collapsingToolbar$delegate:Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public isCollapsed:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
.field public final premiumGuildHint$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
.field public final premiumGuildHintButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public selectedGuildId:Ljava/lang/Long;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public static constructor <clinit>()V
|
2019-08-30 20:04:20 +00:00
|
|
|
.locals 6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/16 v0, 0xb
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v1, Lt/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v2, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v2}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v3, "collapsingToolbar"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v4, "getCollapsingToolbar()Lcom/google/android/material/appbar/CollapsingToolbarLayout;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v1, v2, v3, v4}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
sget-object v2, Lt/u/b/w;->a:Lt/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-virtual {v2, v1}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v2, Lt/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "appBarLayout"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v2, Lt/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "channelsHeader"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getChannelsHeader()Landroid/widget/TextView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v2, Lt/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "channelsList"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getChannelsList()Landroidx/recyclerview/widget/RecyclerView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v2, Lt/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "channelsBanner"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getChannelsBanner()Lcom/facebook/drawee/view/SimpleDraweeView;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v2, Lt/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const-string v4, "channeslBannerForeground"
|
|
|
|
|
|
|
|
const-string v5, "getChanneslBannerForeground()Landroid/widget/FrameLayout;"
|
|
|
|
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
|
|
|
const/4 v1, 0x6
|
|
|
|
|
|
|
|
new-instance v2, Lt/u/b/u;
|
|
|
|
|
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "channelsSearch"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getChannelsSearch()Landroid/view/View;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v1, 0x7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v2, Lt/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v4, "channelsSearchToolbar"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-08-30 20:04:20 +00:00
|
|
|
const-string v5, "getChannelsSearchToolbar()Landroid/view/View;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/16 v1, 0x8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
new-instance v2, Lt/u/b/u;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v4, "channelListUnreadsStub"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v5, "getChannelListUnreadsStub()Landroid/view/ViewStub;"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
aput-object v2, v0, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/16 v1, 0x9
|
2020-01-02 21:43:52 +00:00
|
|
|
|
|
|
|
new-instance v2, Lt/u/b/u;
|
|
|
|
|
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, "premiumGuildHint"
|
|
|
|
|
|
|
|
const-string v5, "getPremiumGuildHint()Landroid/view/View;"
|
|
|
|
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/16 v1, 0xa
|
2020-01-02 21:43:52 +00:00
|
|
|
|
|
|
|
new-instance v2, Lt/u/b/u;
|
|
|
|
|
|
|
|
const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
|
|
|
|
|
|
|
invoke-static {v3}, Lt/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lt/y/b;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
const-string v4, "premiumGuildHintButton"
|
|
|
|
|
|
|
|
const-string v5, "getPremiumGuildHintButton()Landroid/view/View;"
|
|
|
|
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Lt/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object v3, Lt/u/b/w;->a:Lt/u/b/x;
|
|
|
|
|
|
|
|
invoke-virtual {v3, v2}, Lt/u/b/x;->property1(Lt/u/b/t;)Lt/y/d;
|
|
|
|
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sput-object v0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/channels/list/WidgetChannelsList$Companion;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/channels/list/WidgetChannelsList$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->Companion:Lcom/discord/widgets/channels/list/WidgetChannelsList$Companion;
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a0237
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->collapsingToolbar$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const v0, 0x7f0a0079
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->appBarLayout$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a01ab
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a01a0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsList$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a01a9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsBanner$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a01aa
|
2020-01-10 03:40:06 +00:00
|
|
|
|
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channeslBannerForeground$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a01c4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsSearch$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a01c5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsSearchToolbar$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a01ca
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelListUnreadsStub$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a01c0
|
2020-01-02 21:43:52 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-01-02 21:43:52 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->premiumGuildHint$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f0a01c1
|
2020-01-02 21:43:52 +00:00
|
|
|
|
2020-01-07 02:40:43 +00:00
|
|
|
invoke-static {p0, v0}, Lu/a/a2/w;->b(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
2020-01-02 21:43:52 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->premiumGuildHintButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$ackPremiumGuildHint(Lcom/discord/widgets/channels/list/WidgetChannelsList;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->ackPremiumGuildHint()V
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-01-11 03:15:11 +00:00
|
|
|
.method public static final synthetic access$configureHeaderColors(Lcom/discord/widgets/channels/list/WidgetChannelsList;Lcom/discord/models/domain/ModelGuild;Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->configureHeaderColors(Lcom/discord/models/domain/ModelGuild;Z)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
.method public static final synthetic access$configureHeaderIcons(Lcom/discord/widgets/channels/list/WidgetChannelsList;Lcom/discord/models/domain/ModelGuild;Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->configureHeaderIcons(Lcom/discord/models/domain/ModelGuild;Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$configureUI(Lcom/discord/widgets/channels/list/WidgetChannelsList;Lcom/discord/widgets/channels/list/WidgetChannelListModel;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->configureUI(Lcom/discord/widgets/channels/list/WidgetChannelListModel;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getAdapter$p(Lcom/discord/widgets/channels/list/WidgetChannelsList;)Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-12-06 03:29:40 +00:00
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p0, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-object p0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p0, "adapter"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p0}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
throw p0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getAppBarLayout$p(Lcom/discord/widgets/channels/list/WidgetChannelsList;)Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getChannelListUnreads$p(Lcom/discord/widgets/channels/list/WidgetChannelsList;)Lcom/discord/widgets/channels/list/WidgetChannelListUnreads;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-object p0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelListUnreads:Lcom/discord/widgets/channels/list/WidgetChannelListUnreads;
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$getChannelsBanner$p(Lcom/discord/widgets/channels/list/WidgetChannelsList;)Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsBanner()Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$isCollapsed$p(Lcom/discord/widgets/channels/list/WidgetChannelsList;)Z
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget-boolean p0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->isCollapsed:Z
|
|
|
|
|
|
|
|
return p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$setAdapter$p(Lcom/discord/widgets/channels/list/WidgetChannelsList;Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$setChannelListUnreads$p(Lcom/discord/widgets/channels/list/WidgetChannelsList;Lcom/discord/widgets/channels/list/WidgetChannelListUnreads;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelListUnreads:Lcom/discord/widgets/channels/list/WidgetChannelListUnreads;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic access$setCollapsed$p(Lcom/discord/widgets/channels/list/WidgetChannelsList;Z)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->isCollapsed:Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
.method private final ackPremiumGuildHint()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getNux()Lcom/discord/stores/StoreNux;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreNux;->setPremiumGuildHintGuildId(Ljava/lang/Long;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-01-11 03:15:11 +00:00
|
|
|
.method private final configureHeaderColors(Lcom/discord/models/domain/ModelGuild;Z)V
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsHeader()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v2, "requireContext()"
|
|
|
|
|
|
|
|
invoke-static {v1, v2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
iget-boolean v3, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->isCollapsed:Z
|
|
|
|
|
|
|
|
invoke-direct {p0, v1, p1, v3}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getTintColor(Landroid/content/Context;Lcom/discord/models/domain/ModelGuild;Z)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(I)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsHeader()Landroid/widget/TextView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
|
|
|
iget-boolean p2, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->isCollapsed:Z
|
|
|
|
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const p2, 0x7f060163
|
2020-01-11 03:15:11 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p2}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroidx/fragment/app/Fragment;I)I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-01-28 00:59:01 +00:00
|
|
|
const p2, 0x7f0400ea
|
2020-01-11 03:15:11 +00:00
|
|
|
|
|
|
|
invoke-static {p0, p2}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroidx/fragment/app/Fragment;I)I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/high16 v0, 0x40000000 # 2.0f
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/high16 v3, 0x40800000 # 4.0f
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0, v1, v3, p2}, Landroid/widget/TextView;->setShadowLayer(FFFI)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChanneslBannerForeground()Landroid/widget/FrameLayout;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->isCollapsed:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-static {v0, v2}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v1, 0x7f04018b
|
2020-01-11 03:15:11 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x2
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
invoke-static {v0, v1, v2, v3, v4}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/content/Context;IIILjava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2020-01-28 00:59:01 +00:00
|
|
|
const v0, 0x7f080177
|
2020-01-11 03:15:11 +00:00
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-static {p2, v0}, Landroidx/core/content/ContextCompat;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/FrameLayout;->setForeground(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
.method private final configureHeaderIcons(Lcom/discord/models/domain/ModelGuild;Z)V
|
|
|
|
.locals 9
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-nez p1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v3, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->isVerifiedServer()Z
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/views/CustomAppBarLayout;->a()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f080406
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_2
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f080407
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->isPartneredServer()Z
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/views/CustomAppBarLayout;->a()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f080361
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_4
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f080362
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_5
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getPremiumTier()I
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-nez v3, :cond_8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getPremiumSubscriptionCount()Ljava/lang/Integer;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getPremiumSubscriptionCount()Ljava/lang/Integer;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-lez v3, :cond_8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/views/CustomAppBarLayout;->a()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f0802d7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_6
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f0802d8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_7
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {}, Lt/u/b/j;->throwNpe()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
throw v2
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:cond_8
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getPremiumTier()I
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v4, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-ne v3, v4, :cond_a
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/views/CustomAppBarLayout;->a()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f0802c8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_9
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f0802c9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_a
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getPremiumTier()I
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-ne v3, v0, :cond_c
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/views/CustomAppBarLayout;->a()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_b
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f0802ca
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_b
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f0802cb
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_c
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/models/domain/ModelGuild;->getPremiumTier()I
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v4, 0x3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-ne v3, v4, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/views/CustomAppBarLayout;->a()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v3, :cond_d
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f0802cc
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_d
|
2020-01-28 00:59:01 +00:00
|
|
|
const v3, 0x7f0802cd
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsHeader()Landroid/widget/TextView;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
if-nez v3, :cond_e
|
|
|
|
|
|
|
|
move-object v3, v2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-static {v5, v3}, Landroidx/core/content/ContextCompat;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
const-string v7, "requireContext()"
|
|
|
|
|
|
|
|
invoke-static {v6, v7}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v8, 0x7f04024a
|
2020-01-10 03:40:06 +00:00
|
|
|
|
|
|
|
invoke-static {v6, v8, v1, v0, v2}, Lcom/discord/utilities/drawable/DrawableCompat;->getThemedDrawableRes$default(Landroid/content/Context;IIILjava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-static {v5, v0}, Landroidx/core/content/ContextCompat;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_f
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-static {v1, v7}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-direct {p0, v1, p1, p2}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getTintColor(Landroid/content/Context;Lcom/discord/models/domain/ModelGuild;Z)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->setTint(I)V
|
|
|
|
|
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:cond_f
|
|
|
|
move-object v0, v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:goto_2
|
|
|
|
invoke-virtual {v4, v3, v2, v0, v2}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final configureUI(Lcom/discord/widgets/channels/list/WidgetChannelListModel;)V
|
2020-01-10 03:40:06 +00:00
|
|
|
.locals 8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelListModel;->getSelectedGuild()Lcom/discord/models/domain/ModelGuild;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelGuild;->getBanner()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-01-10 03:40:06 +00:00
|
|
|
move-object v2, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v2, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v2, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:goto_1
|
2020-01-10 03:40:06 +00:00
|
|
|
iget-object v5, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->selectedGuildId:Ljava/lang/Long;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelGuild;->getId()J
|
|
|
|
|
|
|
|
move-result-wide v6
|
|
|
|
|
|
|
|
invoke-static {v6, v7}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object v6, v1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
invoke-static {v5, v6}, Lt/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
xor-int/2addr v5, v3
|
|
|
|
|
|
|
|
if-eqz v5, :cond_5
|
|
|
|
|
|
|
|
if-eqz v2, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsList()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v5, v4}, Landroidx/recyclerview/widget/RecyclerView;->scrollToPosition(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v5, v3}, Lcom/google/android/material/appbar/AppBarLayout;->setExpanded(Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-11 03:15:11 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelListModel;->getSelectedGuild()Lcom/discord/models/domain/ModelGuild;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-direct {p0, v5, v3}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->configureHeaderColors(Lcom/discord/models/domain/ModelGuild;Z)V
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:cond_3
|
|
|
|
if-eqz v0, :cond_4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelGuild;->getId()J
|
|
|
|
|
|
|
|
move-result-wide v5
|
|
|
|
|
|
|
|
invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
goto :goto_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:cond_4
|
|
|
|
move-object v5, v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:goto_3
|
|
|
|
iput-object v5, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->selectedGuildId:Ljava/lang/Long;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:cond_5
|
|
|
|
iget-object v5, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v5, :cond_b
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelListModel;->getItems()Ljava/util/List;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v5, v6}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;->setData(Ljava/util/List;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getCollapsingToolbar()Lcom/google/android/material/appbar/CollapsingToolbarLayout;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelListModel;->isGuildSelected()Z
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v7, 0x2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-static {v5, v6, v4, v7, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsSearchToolbar()Landroid/view/View;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelListModel;->isGuildSelected()Z
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
xor-int/2addr v6, v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-static {v5, v6, v4, v7, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsSearch()Landroid/view/View;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelListModel;->isGuildSelected()Z
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
xor-int/2addr v3, v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-static {v5, v3, v4, v7, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsHeader()Landroid/widget/TextView;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
new-instance v5, Lcom/discord/widgets/channels/list/WidgetChannelsList$configureUI$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-direct {v5, p0, v0}, Lcom/discord/widgets/channels/list/WidgetChannelsList$configureUI$1;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;Lcom/discord/models/domain/ModelGuild;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v3, v5}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsHeader()Landroid/widget/TextView;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v0, :cond_6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelGuild;->getName()Ljava/lang/String;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:cond_6
|
|
|
|
invoke-virtual {v3, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-direct {p0, v0, v4}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->configureHeaderIcons(Lcom/discord/models/domain/ModelGuild;Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsBanner()Lcom/facebook/drawee/view/SimpleDraweeView;
|
2020-01-02 21:43:52 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/16 v3, 0x8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v2, :cond_7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v5, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
goto :goto_4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:cond_7
|
|
|
|
const/16 v5, 0x8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:goto_4
|
|
|
|
invoke-virtual {v1, v5}, Landroid/view/View;->setVisibility(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChanneslBannerForeground()Landroid/widget/FrameLayout;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v2, :cond_8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v5, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
goto :goto_5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:cond_8
|
|
|
|
const/16 v5, 0x8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:goto_5
|
|
|
|
invoke-virtual {v1, v5}, Landroid/view/View;->setVisibility(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz v2, :cond_9
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsBanner()Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
sget-object v5, Lcom/discord/utilities/icon/IconUtils;->INSTANCE:Lcom/discord/utilities/icon/IconUtils;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getResources()Landroid/content/res/Resources;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const v7, 0x7f070175
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v6, v7}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-virtual {v5, v0, v6}, Lcom/discord/utilities/icon/IconUtils;->getBannerForGuild(Lcom/discord/models/domain/ModelGuild;Ljava/lang/Integer;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-virtual {v1, v5}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_9
|
2019-07-24 11:27:29 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
new-instance v5, Lcom/discord/widgets/channels/list/WidgetChannelsList$configureUI$2;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-direct {v5, p0, v0, p1, v2}, Lcom/discord/widgets/channels/list/WidgetChannelsList$configureUI$2;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;Lcom/discord/models/domain/ModelGuild;Lcom/discord/widgets/channels/list/WidgetChannelListModel;Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
invoke-virtual {v1, v5}, Lcom/discord/views/CustomAppBarLayout;->setOnPercentCollapsedCallback(Lkotlin/jvm/functions/Function1;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getPremiumGuildHint()Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelListModel;->getShowPremiumGuildHint()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
if-eqz p1, :cond_a
|
2020-01-02 21:43:52 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v3, 0x0
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:cond_a
|
|
|
|
invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V
|
2020-01-02 21:43:52 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
:cond_b
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string p1, "adapter"
|
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
throw v1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->appBarLayout$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/discord/views/CustomAppBarLayout;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getChannelListUnreadsStub()Landroid/view/ViewStub;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelListUnreadsStub$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/16 v2, 0x8
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/ViewStub;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getChannelsBanner()Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsBanner$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x4
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getChannelsHeader()Landroid/widget/TextView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsHeader$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getChannelsList()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsList$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x3
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getChannelsSearch()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsSearch$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v2, 0x6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getChannelsSearchToolbar()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelsSearchToolbar$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/4 v2, 0x7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
.method private final getChanneslBannerForeground()Landroid/widget/FrameLayout;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channeslBannerForeground$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x5
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/FrameLayout;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.method private final getCollapsingToolbar()Lcom/google/android/material/appbar/CollapsingToolbarLayout;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->collapsingToolbar$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lcom/google/android/material/appbar/CollapsingToolbarLayout;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
.method private final getPremiumGuildHint()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->premiumGuildHint$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/16 v2, 0x9
|
2020-01-02 21:43:52 +00:00
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final getPremiumGuildHintButton()Landroid/view/View;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->premiumGuildHintButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
const/16 v2, 0xa
|
2020-01-02 21:43:52 +00:00
|
|
|
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2020-01-10 03:40:06 +00:00
|
|
|
.method private final getTintColor(Landroid/content/Context;Lcom/discord/models/domain/ModelGuild;Z)I
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Lcom/discord/models/domain/ModelGuild;->getBanner()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
|
|
|
|
if-nez p3, :cond_1
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
const p2, 0x7f060266
|
2020-01-10 03:40:06 +00:00
|
|
|
|
|
|
|
invoke-static {p1, p2}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroid/content/Context;I)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
2020-01-28 00:59:01 +00:00
|
|
|
const p2, 0x7f040103
|
2020-01-10 03:40:06 +00:00
|
|
|
|
|
|
|
invoke-static {p1, p2}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/content/Context;I)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# virtual methods
|
2020-01-28 00:59:01 +00:00
|
|
|
.method public _$_clearFindViewByIdCache()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->_$_findViewCache:Ljava/util/HashMap;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->clear()V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public _$_findCachedViewById(I)Landroid/view/View;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->_$_findViewCache:Ljava/util/HashMap;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->_$_findViewCache:Ljava/util/HashMap;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->_$_findViewCache:Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getView()Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->_$_findViewCache:Ljava/util/HashMap;
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public getContentViewResId()I
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 1
|
|
|
|
|
2020-01-30 10:23:52 +00:00
|
|
|
const v0, 0x7f0d0135
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-01-28 00:59:01 +00:00
|
|
|
.method public synthetic onDestroyView()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppFragment;->onDestroyView()V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->_$_clearFindViewByIdCache()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onViewBound(Landroid/view/View;)V
|
|
|
|
.locals 13
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_7
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v1, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;->Companion:Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter$Companion;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v2, Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsList()Landroidx/recyclerview/widget/RecyclerView;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v2, v3}, Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;-><init>(Landroidx/recyclerview/widget/RecyclerView;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v1, v2}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter$Companion;->configure(Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;)Lcom/discord/utilities/mg_recycler/MGRecyclerAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
check-cast v1, Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object v1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v2, "adapter"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v3, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$1;->INSTANCE:Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v1, v3}, Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;->setOnSelectChannel(Lkotlin/jvm/functions/Function1;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$2;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v3, p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$2;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v1, v3}, Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;->setOnSelectChannelOptions(Lkotlin/jvm/functions/Function1;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v1, :cond_4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$3;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v3, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$3;-><init>(Landroid/view/View;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v1, v3}, Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;->setOnCallChannel(Lkotlin/jvm/functions/Function1;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object p1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$4;->INSTANCE:Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$4;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1, v1}, Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;->setOnCollapseCategory(Lkotlin/jvm/functions/Function2;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$5;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$5;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1, v1}, Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;->setOnSelectInvite(Lkotlin/jvm/functions/Function1;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$6;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$6;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1, v1}, Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;->setOnSelectUserOptions(Lkotlin/jvm/functions/Function2;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsSearch()Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$7;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$7;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsList()Landroidx/recyclerview/widget/RecyclerView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1, v1}, Landroidx/recyclerview/widget/RecyclerView;->setHasFixedSize(Z)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance p1, Lcom/discord/widgets/channels/list/WidgetChannelListUnreads;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelListUnreadsStub()Landroid/view/ViewStub;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v4
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getChannelsList()Landroidx/recyclerview/widget/RecyclerView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v5
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getAppBarLayout()Lcom/discord/views/CustomAppBarLayout;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v6
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v7, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$8;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v7, p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$8;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v8, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v9, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v10, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/16 v11, 0x70
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v12, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-object v3, p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct/range {v3 .. v12}, Lcom/discord/widgets/channels/list/WidgetChannelListUnreads;-><init>(Landroid/view/ViewStub;Landroidx/recyclerview/widget/RecyclerView;Lcom/google/android/material/appbar/AppBarLayout;Lkotlin/jvm/functions/Function0;IIZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->channelListUnreads:Lcom/discord/widgets/channels/list/WidgetChannelListUnreads;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object p1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v0, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$9;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$9;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;->setOnUpdated(Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple$OnUpdated;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList;->getPremiumGuildHintButton()Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$10;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBound$10;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;)V
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
return-void
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v2}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_1
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v2}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_2
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v2}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_3
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v2}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_4
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v2}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_5
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v2}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
:cond_6
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v2}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_7
|
|
|
|
const-string p1, "view"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public onViewBoundOrOnResume()V
|
2020-01-02 21:43:52 +00:00
|
|
|
.locals 12
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/widgets/channels/list/WidgetChannelListModel;->Companion:Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion;->get()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/widgets/channels/list/WidgetChannelsList;->adapter:Lcom/discord/widgets/channels/list/WidgetChannelsListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
const/4 v2, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
if-eqz v1, :cond_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
invoke-static {v0, p0, v1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
move-result-object v3
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
const-class v4, Lcom/discord/widgets/channels/list/WidgetChannelsList;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
new-instance v9, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBoundOrOnResume$1;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
invoke-direct {v9, p0}, Lcom/discord/widgets/channels/list/WidgetChannelsList$onViewBoundOrOnResume$1;-><init>(Lcom/discord/widgets/channels/list/WidgetChannelsList;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
const/16 v10, 0x1e
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
const/4 v11, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
invoke-static/range {v3 .. v11}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getMostRecentIntent()Landroid/content/Intent;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const-string v3, "com.discord.intent.extra.EXTRA_OPEN_DRAWER"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getNavigation()Lcom/discord/stores/StoreNavigation;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
sget-object v1, Lcom/discord/stores/StoreNavigation$DrawerAction;->OPEN:Lcom/discord/stores/StoreNavigation$DrawerAction;
|
|
|
|
|
|
|
|
const/4 v4, 0x2
|
|
|
|
|
|
|
|
invoke-static {v0, v1, v2, v4, v2}, Lcom/discord/stores/StoreNavigation;->setNavigationDrawerAction$default(Lcom/discord/stores/StoreNavigation;Lcom/discord/stores/StoreNavigation$DrawerAction;Landroidx/drawerlayout/widget/DrawerLayout;ILjava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getMostRecentIntent()Landroid/content/Intent;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0, v3}, Landroid/content/Intent;->removeExtra(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_0
|
2020-01-02 21:43:52 +00:00
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v0, "adapter"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-21 01:41:59 +00:00
|
|
|
invoke-static {v0}, Lt/u/b/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-01-02 21:43:52 +00:00
|
|
|
throw v2
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|