a.smali

.class Lme/iwf/photopicker/fragment/a;
.super Ljava/lang/Object;
.source "PhotoPickerFragment.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lme/iwf/photopicker/fragment/c;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
.end annotation

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


# instance fields
.field final synthetic a:Landroid/widget/Button;

.field final synthetic b:Lme/iwf/photopicker/fragment/c;


# direct methods
.method constructor <init>(Lme/iwf/photopicker/fragment/c;Landroid/widget/Button;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lme/iwf/photopicker/fragment/a;->b:Lme/iwf/photopicker/fragment/c;

    iput-object p2, p0, Lme/iwf/photopicker/fragment/a;->a:Landroid/widget/Button;

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

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lme/iwf/photopicker/fragment/a;->b:Lme/iwf/photopicker/fragment/c;

    invoke-static {p1}, Lme/iwf/photopicker/fragment/c;->e(Lme/iwf/photopicker/fragment/c;)Landroidx/appcompat/widget/ListPopupWindow;

    move-result-object p1

    invoke-virtual {p1}, Landroidx/appcompat/widget/ListPopupWindow;->dismiss()V

    .line 2
    iget-object p1, p0, Lme/iwf/photopicker/fragment/a;->b:Lme/iwf/photopicker/fragment/c;

    invoke-static {p1}, Lme/iwf/photopicker/fragment/c;->b(Lme/iwf/photopicker/fragment/c;)Ljava/util/List;

    move-result-object p1

    invoke-interface {p1, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lme/iwf/photopicker/entity/PhotoDirectory;

    .line 3
    iget-object p2, p0, Lme/iwf/photopicker/fragment/a;->a:Landroid/widget/Button;

    invoke-virtual {p1}, Lme/iwf/photopicker/entity/PhotoDirectory;->getName()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p2, p1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 4
    iget-object p1, p0, Lme/iwf/photopicker/fragment/a;->b:Lme/iwf/photopicker/fragment/c;

    invoke-static {p1}, Lme/iwf/photopicker/fragment/c;->c(Lme/iwf/photopicker/fragment/c;)Lme/iwf/photopicker/adapter/a;

    move-result-object p1

    invoke-virtual {p1, p3}, Lme/iwf/photopicker/adapter/c;->b(I)V

    .line 5
    iget-object p1, p0, Lme/iwf/photopicker/fragment/a;->b:Lme/iwf/photopicker/fragment/c;

    invoke-static {p1}, Lme/iwf/photopicker/fragment/c;->c(Lme/iwf/photopicker/fragment/c;)Lme/iwf/photopicker/adapter/a;

    move-result-object p1

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$a;->notifyDataSetChanged()V

    return-void
.end method