b$a.smali

.class public final Leo/b$a;
.super Ljava/lang/Object;
.source "FolderPopupWindow.kt"

# interfaces
.implements Lzn/a$a;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Leo/b;-><init>(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation


# instance fields
.field public final synthetic a:Leo/b;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(Leo/b;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    iput-object p1, p0, Leo/b$a;->a:Leo/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(ILjava/lang/Object;Landroid/view/View;)V
    .registers 4

    iget-object p3, p0, Leo/b$a;->a:Leo/b;

    invoke-static {p3}, Leo/b;->a(Leo/b;)I

    move-result p3

    if-eq p1, p3, :cond_25

    iget-object p3, p0, Leo/b$a;->a:Leo/b;

    invoke-static {p3, p1}, Leo/b;->a(Leo/b;I)V

    if-eqz p2, :cond_1d

    check-cast p2, Lbo/c;

    iget-object p3, p0, Leo/b$a;->a:Leo/b;

    invoke-virtual {p3}, Leo/b;->a()Leo/b$b;

    move-result-object p3

    if-eqz p3, :cond_25

    invoke-interface {p3, p1, p2}, Leo/b$b;->a(ILbo/c;)V

    goto :goto_25

    :cond_1d
    new-instance p1, Lkotlin/TypeCastException;

    const-string p2, "null cannot be cast to non-null type com.shopee.sz.drc.mediastore.picture.LocalMediaFolder"

    invoke-direct {p1, p2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_25
    :goto_25
    iget-object p1, p0, Leo/b$a;->a:Leo/b;

    invoke-virtual {p1}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_32

    iget-object p1, p0, Leo/b$a;->a:Leo/b;

    invoke-virtual {p1}, Landroid/widget/PopupWindow;->dismiss()V

    :cond_32
    return-void
.end method