BackpackComponent$e.smali

.class final Lsg/bigolive/revenue64/component/backpack/BackpackComponent$e;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigolive/revenue64/component/backpack/BackpackComponent;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Landroidx/lifecycle/Observer<",
        "Ljava/util/List<",
        "+",
        "Lcom/imo/android/imoim/chatroom/toolpackage/data/BackpackBean;",
        ">;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lsg/bigolive/revenue64/component/backpack/BackpackComponent;


# direct methods
.method constructor <init>(Lsg/bigolive/revenue64/component/backpack/BackpackComponent;)V
    .registers 2

    iput-object p1, p0, Lsg/bigolive/revenue64/component/backpack/BackpackComponent$e;->a:Lsg/bigolive/revenue64/component/backpack/BackpackComponent;

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

    return-void
.end method


# virtual methods
.method public final synthetic onChanged(Ljava/lang/Object;)V
    .registers 8

    .line 81
    check-cast p1, Ljava/util/List;

    .line 1242
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 1243
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_b
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_23

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/imo/android/imoim/chatroom/toolpackage/data/BackpackBean;

    .line 1244
    new-instance v2, Lcom/imo/android/imoim/chatroom/toolpackage/data/BackpackItem;

    const/4 v3, 0x0

    const/4 v4, 0x2

    const/4 v5, 0x0

    invoke-direct {v2, v1, v3, v4, v5}, Lcom/imo/android/imoim/chatroom/toolpackage/data/BackpackItem;-><init>(Lcom/imo/android/imoim/chatroom/toolpackage/data/BackpackBean;ZILkotlin/f/b/j;)V

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_b

    .line 1246
    :cond_23
    iget-object p1, p0, Lsg/bigolive/revenue64/component/backpack/BackpackComponent$e;->a:Lsg/bigolive/revenue64/component/backpack/BackpackComponent;

    invoke-static {p1}, Lsg/bigolive/revenue64/component/backpack/BackpackComponent;->b(Lsg/bigolive/revenue64/component/backpack/BackpackComponent;)Lcom/imo/android/imoim/chatroom/toolpackage/view/BackPackPanel;

    move-result-object p1

    if-eqz p1, :cond_30

    check-cast v0, Ljava/util/List;

    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/chatroom/toolpackage/view/BackPackPanel;->a(Ljava/util/List;)V

    :cond_30
    return-void
.end method