.class Lcom/moji/mjweather/scenestore/SceneEditAdapter$1;
.super Ljava/lang/Object;
.source "SceneEditAdapter.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/scenestore/SceneEditAdapter;->a(Lcom/moji/mjweather/scenestore/SceneEditAdapter$EditViewHolder;I)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/http/scenestore/SceneList$List$ChildList;

.field final synthetic b:Lcom/moji/mjweather/scenestore/SceneEditAdapter;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/scenestore/SceneEditAdapter;Lcom/moji/http/scenestore/SceneList$List$ChildList;)V
    .locals 0

    .line 93
    iput-object p1, p0, Lcom/moji/mjweather/scenestore/SceneEditAdapter$1;->b:Lcom/moji/mjweather/scenestore/SceneEditAdapter;

    iput-object p2, p0, Lcom/moji/mjweather/scenestore/SceneEditAdapter$1;->a:Lcom/moji/http/scenestore/SceneList$List$ChildList;

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

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 0

    if-eqz p2, :cond_0

    .line 97
    iget-object p1, p0, Lcom/moji/mjweather/scenestore/SceneEditAdapter$1;->b:Lcom/moji/mjweather/scenestore/SceneEditAdapter;

    invoke-static {p1}, Lcom/moji/mjweather/scenestore/SceneEditAdapter;->a(Lcom/moji/mjweather/scenestore/SceneEditAdapter;)Ljava/util/Set;

    move-result-object p1

    iget-object p2, p0, Lcom/moji/mjweather/scenestore/SceneEditAdapter$1;->a:Lcom/moji/http/scenestore/SceneList$List$ChildList;

    iget-object p2, p2, Lcom/moji/http/scenestore/SceneList$List$ChildList;->themeId:Ljava/lang/String;

    invoke-interface {p1, p2}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 99
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/scenestore/SceneEditAdapter$1;->b:Lcom/moji/mjweather/scenestore/SceneEditAdapter;

    invoke-static {p1}, Lcom/moji/mjweather/scenestore/SceneEditAdapter;->a(Lcom/moji/mjweather/scenestore/SceneEditAdapter;)Ljava/util/Set;

    move-result-object p1

    iget-object p2, p0, Lcom/moji/mjweather/scenestore/SceneEditAdapter$1;->a:Lcom/moji/http/scenestore/SceneList$List$ChildList;

    iget-object p2, p2, Lcom/moji/http/scenestore/SceneList$List$ChildList;->themeId:Ljava/lang/String;

    invoke-interface {p1, p2}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    :goto_0
    return-void
.end method
