apkfuckery/com.discord/smali/com/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordFilesFragment.smali

130 lines
3.8 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordFilesFragment;
.super Lcom/lytefast/flexinput/fragment/FilesFragment;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/widgets/chat/input/WidgetChatInputAttachments;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "DiscordFilesFragment"
.end annotation
# instance fields
.field private _$_findViewCache:Ljava/util/HashMap;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Lcom/lytefast/flexinput/fragment/FilesFragment;-><init>()V
return-void
.end method
# virtual methods
.method public final _$_clearFindViewByIdCache()V
.locals 1
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordFilesFragment;->_$_findViewCache:Ljava/util/HashMap;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordFilesFragment;->_$_findViewCache:Ljava/util/HashMap;
invoke-virtual {v0}, Ljava/util/HashMap;->clear()V
:cond_0
return-void
.end method
.method public final _$_findCachedViewById(I)Landroid/view/View;
.locals 2
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordFilesFragment;->_$_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/chat/input/WidgetChatInputAttachments$DiscordFilesFragment;->_$_findViewCache:Ljava/util/HashMap;
:cond_0
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordFilesFragment;->_$_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/chat/input/WidgetChatInputAttachments$DiscordFilesFragment;->_$_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
.method public final newPermissionsRequestAdapter(Landroid/view/View$OnClickListener;)Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
.locals 3
const-string v0, "onClickListener"
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$PermissionsEmptyListAdapter;
const v1, 0x7f0d00bc
const v2, 0x7f0a0017
invoke-direct {v0, v1, v2, p1}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$PermissionsEmptyListAdapter;-><init>(IILandroid/view/View$OnClickListener;)V
check-cast v0, Lcom/lytefast/flexinput/adapters/EmptyListAdapter;
return-object v0
.end method
.method public final synthetic onDestroyView()V
.locals 0
invoke-super {p0}, Lcom/lytefast/flexinput/fragment/FilesFragment;->onDestroyView()V
invoke-virtual {p0}, Lcom/discord/widgets/chat/input/WidgetChatInputAttachments$DiscordFilesFragment;->_$_clearFindViewByIdCache()V
return-void
.end method