g$g.smali

.class final Lcom/imo/android/imoim/community/bearcommunity/fragment/g$g;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/community/bearcommunity/fragment/g;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/community/bearcommunity/fragment/g;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/community/bearcommunity/fragment/g;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/g$g;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/g;

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

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .registers 4

    .line 103
    iget-object p1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/g$g;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/g;

    invoke-virtual {p1}, Lcom/imo/android/imoim/community/bearcommunity/fragment/g;->i()Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

    move-result-object p1

    iget-object v0, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/g$g;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/g;

    invoke-virtual {v0}, Lcom/imo/android/imoim/community/bearcommunity/fragment/g;->n()Landroid/app/Activity;

    move-result-object v0

    check-cast v0, Landroid/content/Context;

    iget-object v1, p0, Lcom/imo/android/imoim/community/bearcommunity/fragment/g$g;->a:Lcom/imo/android/imoim/community/bearcommunity/fragment/g;

    invoke-virtual {v1}, Lcom/imo/android/imoim/community/bearcommunity/fragment/g;->i()Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;

    move-result-object v1

    .line 1083
    iget-object v1, v1, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;->f:Landroidx/lifecycle/MutableLiveData;

    check-cast v1, Landroidx/lifecycle/LiveData;

    .line 103
    invoke-virtual {v1}, Landroidx/lifecycle/LiveData;->getValue()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/imo/android/imoim/community/community/data/bean/g;

    if-eqz v1, :cond_27

    .line 2024
    iget-object v1, v1, Lcom/imo/android/imoim/community/community/data/bean/g;->a:Lcom/imo/android/imoim/communitymodule/data/CommunityInfo;

    if-eqz v1, :cond_27

    .line 3017
    iget-object v1, v1, Lcom/imo/android/imoim/communitymodule/data/CommunityInfo;->h:Ljava/lang/String;

    goto :goto_28

    :cond_27
    const/4 v1, 0x0

    .line 103
    :goto_28
    invoke-virtual {p1, v0, v1}, Lcom/imo/android/imoim/community/bearcommunity/CyBearHomeViewModel;->b(Landroid/content/Context;Ljava/lang/String;)Z

    return-void
.end method