SubSmarthomeFragment$6.smali

.class Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$6;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/cmcm/xiaobao/phone/smarthome/widget/NormalRecyclerViewAdapter$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->initSmarthomeSkillAdapter()V
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;


# direct methods
.method constructor <init>(Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;)V
    .registers 2

    iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$6;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;

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

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/view/View;Ljava/lang/Object;I)V
    .registers 6

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$6;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->mDevicesAdapter:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeDeviceAdapter;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->access$400(Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;)Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeDeviceAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeDeviceAdapter;->getList()Ljava/util/List;

    move-result-object v0

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

    move-result-object v0

    check-cast v0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeDataBean;

    if-nez v0, :cond_13

    :goto_12
    return-void

    :cond_13
    iget-object v1, p0, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment$6;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;

    invoke-virtual {v1}, Lcom/cmcm/xiaobao/phone/smarthome/SubSmarthomeFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-static {v1, v0}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeDeviceDetailFragment;->startDeviceList(Landroid/content/Context;Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeDataBean;)V

    goto :goto_12
.end method

.method public onItemLongClick(Landroid/view/View;Ljava/lang/Object;I)V
    .registers 4

    return-void
.end method