88 lines
2.6 KiB
Smali
88 lines
2.6 KiB
Smali
.class public final Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;
|
|
.super Lf/b/a/c/i;
|
|
.source "AttachmentPreviewAdapter.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x11
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic j:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;Landroid/view/View;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/view/View;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "itemView"
|
|
|
|
invoke-static {p2, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;->j:Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter;
|
|
|
|
invoke-direct {p0, p2}, Lf/b/a/c/i;-><init>(Landroid/view/View;)V
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
sget p2, Lcom/lytefast/flexinput/R$d;->ic_file_24dp:I
|
|
|
|
invoke-static {p1, p2}, Landroidx/appcompat/content/res/AppCompatResources;->getDrawable(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0}, Lcom/lytefast/flexinput/adapters/AttachmentPreviewAdapter$a;->a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Lcom/facebook/drawee/view/DraweeView;->getHierarchy()Lcom/facebook/drawee/interfaces/DraweeHierarchy;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p2, v0, p1}, Lcom/facebook/drawee/generic/GenericDraweeHierarchy;->o(ILandroid/graphics/drawable/Drawable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast v0, Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/NullPointerException;
|
|
|
|
const-string v1, "null cannot be cast to non-null type com.facebook.drawee.view.SimpleDraweeView"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|