DCCoverViewComponent$2.smali

.class Lio/dcloud/feature/weex/extend/DCCoverViewComponent$2;
.super Ljava/lang/Object;
.source "DCCoverViewComponent.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/dcloud/feature/weex/extend/DCCoverViewComponent;->updateCallout()V
.end annotation

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


# instance fields
.field final synthetic this$0:Lio/dcloud/feature/weex/extend/DCCoverViewComponent;


# direct methods
.method constructor <init>(Lio/dcloud/feature/weex/extend/DCCoverViewComponent;)V
    .registers 2
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x8010
        }
        names = {
            "this$0"
        }
    .end annotation

    .line 119
    iput-object p1, p0, Lio/dcloud/feature/weex/extend/DCCoverViewComponent$2;->this$0:Lio/dcloud/feature/weex/extend/DCCoverViewComponent;

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

    return-void
.end method


# virtual methods
.method public run()V
    .registers 3

    .line 122
    iget-object v0, p0, Lio/dcloud/feature/weex/extend/DCCoverViewComponent$2;->this$0:Lio/dcloud/feature/weex/extend/DCCoverViewComponent;

    invoke-virtual {v0}, Lio/dcloud/feature/weex/extend/DCCoverViewComponent;->getHostView()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_1d

    .line 123
    iget-object v0, p0, Lio/dcloud/feature/weex/extend/DCCoverViewComponent$2;->this$0:Lio/dcloud/feature/weex/extend/DCCoverViewComponent;

    invoke-virtual {v0}, Lio/dcloud/feature/weex/extend/DCCoverViewComponent;->getHostView()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v0

    iget-object v1, p0, Lio/dcloud/feature/weex/extend/DCCoverViewComponent$2;->this$0:Lio/dcloud/feature/weex/extend/DCCoverViewComponent;

    # getter for: Lio/dcloud/feature/weex/extend/DCCoverViewComponent;->onDrawListener:Landroid/view/ViewTreeObserver$OnDrawListener;
    invoke-static {v1}, Lio/dcloud/feature/weex/extend/DCCoverViewComponent;->access$100(Lio/dcloud/feature/weex/extend/DCCoverViewComponent;)Landroid/view/ViewTreeObserver$OnDrawListener;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->removeOnDrawListener(Landroid/view/ViewTreeObserver$OnDrawListener;)V

    :cond_1d
    return-void
.end method