AppDashboardUsageView$setupSpinner$1.smali

.class public final Lcom/avast/android/cleaner/view/AppDashboardUsageView$setupSpinner$1;
.super Ljava/lang/Object;

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/avast/android/cleaner/view/AppDashboardUsageView;->setupSpinner(Landroid/content/Context;)V
.end annotation

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


# instance fields
.field final synthetic f:Lcom/avast/android/cleaner/view/AppDashboardUsageView;


# direct methods
.method constructor <init>(Lcom/avast/android/cleaner/view/AppDashboardUsageView;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    iput-object p1, p0, Lcom/avast/android/cleaner/view/AppDashboardUsageView$setupSpinner$1;->f:Lcom/avast/android/cleaner/view/AppDashboardUsageView;

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

    return-void
.end method


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

    const/4 v0, 0x6

    iget-object p1, p0, Lcom/avast/android/cleaner/view/AppDashboardUsageView$setupSpinner$1;->f:Lcom/avast/android/cleaner/view/AppDashboardUsageView;

    const/4 v0, 0x4

    invoke-static {p1}, Lcom/avast/android/cleaner/view/AppDashboardUsageView;->r(Lcom/avast/android/cleaner/view/AppDashboardUsageView;)Ljava/util/List;

    move-result-object p1

    const/4 v0, 0x0

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    const/4 v0, 0x5

    if-le p1, p3, :cond_1d

    const/4 v0, 0x2

    iget-object p1, p0, Lcom/avast/android/cleaner/view/AppDashboardUsageView$setupSpinner$1;->f:Lcom/avast/android/cleaner/view/AppDashboardUsageView;

    const/4 v0, 0x4

    new-instance p2, Lcom/avast/android/cleaner/view/AppDashboardUsageView$setupSpinner$1$onItemSelected$1;

    const/4 v0, 0x7

    invoke-direct {p2, p0, p3}, Lcom/avast/android/cleaner/view/AppDashboardUsageView$setupSpinner$1$onItemSelected$1;-><init>(Lcom/avast/android/cleaner/view/AppDashboardUsageView$setupSpinner$1;I)V

    invoke-static {p1, p2}, Lcom/avast/android/cleaner/view/AppDashboardUsageView;->s(Lcom/avast/android/cleaner/view/AppDashboardUsageView;Lkotlin/jvm/functions/Function0;)V

    :cond_1d
    return-void
.end method

.method public onNothingSelected(Landroid/widget/AdapterView;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;)V"
        }
    .end annotation

    return-void
.end method