UserFollowViewModel$a.smali

.class final Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->a(BI)V
.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<",
        "TS;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;

.field final synthetic b:Landroidx/lifecycle/MediatorLiveData;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;Landroidx/lifecycle/MediatorLiveData;)V
    .registers 3

    iput-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$a;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;

    iput-object p2, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$a;->b:Landroidx/lifecycle/MediatorLiveData;

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

    return-void
.end method


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

    .line 17
    check-cast p1, Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/b;

    .line 1055
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$a;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->a(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;)Landroidx/lifecycle/MediatorLiveData;

    move-result-object v0

    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$a;->b:Landroidx/lifecycle/MediatorLiveData;

    check-cast v1, Landroidx/lifecycle/LiveData;

    invoke-virtual {v0, v1}, Landroidx/lifecycle/MediatorLiveData;->removeSource(Landroidx/lifecycle/LiveData;)V

    if-eqz p1, :cond_26

    .line 2006
    iget-object v0, p1, Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/b;->a:Ljava/util/List;

    .line 1056
    check-cast v0, Ljava/util/Collection;

    invoke-static {v0}, Lsg/bigo/common/o;->a(Ljava/util/Collection;)Z

    move-result v0

    if-eqz v0, :cond_1c

    goto :goto_26

    .line 1061
    :cond_1c
    iget-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$a;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;

    invoke-static {v0}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->a(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;)Landroidx/lifecycle/MediatorLiveData;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroidx/lifecycle/MediatorLiveData;->postValue(Ljava/lang/Object;)V

    return-void

    .line 1058
    :cond_26
    :goto_26
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$a;->a:Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;

    invoke-static {p1}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->a(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;)Landroidx/lifecycle/MediatorLiveData;

    move-result-object p1

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroidx/lifecycle/MediatorLiveData;->postValue(Ljava/lang/Object;)V

    return-void
.end method