UserFollowViewModel.smali

.class public final Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;
.super Landroidx/lifecycle/ViewModel;
.source "SourceFile"


# instance fields
.field public a:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;

.field public final b:Landroidx/lifecycle/MediatorLiveData;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/lifecycle/MediatorLiveData<",
            "Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/b;",
            ">;"
        }
    .end annotation
.end field

.field public final c:Landroidx/lifecycle/MediatorLiveData;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/lifecycle/MediatorLiveData<",
            "Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/b;",
            ">;"
        }
    .end annotation
.end field

.field public final d:Landroidx/lifecycle/MediatorLiveData;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/lifecycle/MediatorLiveData<",
            "Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/b;",
            ">;"
        }
    .end annotation
.end field

.field public final e:Landroidx/lifecycle/MediatorLiveData;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/lifecycle/MediatorLiveData<",
            "Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/b;",
            ">;"
        }
    .end annotation
.end field

.field public f:Z

.field private final g:Ljava/lang/String;

.field private final h:Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/e;

.field private i:Z


# direct methods
.method public constructor <init>()V
    .registers 3

    .line 17
    invoke-direct {p0}, Landroidx/lifecycle/ViewModel;-><init>()V

    const-string v0, "UserFollowViewModel"

    .line 18
    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->g:Ljava/lang/String;

    .line 20
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;

    invoke-direct {v0}, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;-><init>()V

    const/4 v1, 0x1

    .line 1037
    iput v1, v0, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->d:I

    .line 1039
    iput-boolean v1, v0, Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;->e:Z

    .line 20
    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->a:Lcom/imo/android/imoim/feeds/ui/recommend/viewmodel/RecommendUserViewModel;

    .line 25
    new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/e;

    invoke-direct {v0}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/e;-><init>()V

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

    .line 27
    new-instance v0, Landroidx/lifecycle/MediatorLiveData;

    invoke-direct {v0}, Landroidx/lifecycle/MediatorLiveData;-><init>()V

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

    .line 28
    new-instance v0, Landroidx/lifecycle/MediatorLiveData;

    invoke-direct {v0}, Landroidx/lifecycle/MediatorLiveData;-><init>()V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->c:Landroidx/lifecycle/MediatorLiveData;

    .line 29
    new-instance v0, Landroidx/lifecycle/MediatorLiveData;

    invoke-direct {v0}, Landroidx/lifecycle/MediatorLiveData;-><init>()V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->d:Landroidx/lifecycle/MediatorLiveData;

    .line 30
    new-instance v0, Landroidx/lifecycle/MediatorLiveData;

    invoke-direct {v0}, Landroidx/lifecycle/MediatorLiveData;-><init>()V

    iput-object v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->e:Landroidx/lifecycle/MediatorLiveData;

    return-void
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;)Landroidx/lifecycle/MediatorLiveData;
    .registers 1

    .line 17
    iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->c:Landroidx/lifecycle/MediatorLiveData;

    return-object p0
.end method

.method public static final synthetic b(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;)Landroidx/lifecycle/MediatorLiveData;
    .registers 1

    .line 17
    iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->e:Landroidx/lifecycle/MediatorLiveData;

    return-object p0
.end method

.method public static final synthetic c(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;)V
    .registers 2

    const/4 v0, 0x0

    .line 17
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->i:Z

    return-void
.end method

.method public static final synthetic d(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;)Landroidx/lifecycle/MediatorLiveData;
    .registers 1

    .line 17
    iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->b:Landroidx/lifecycle/MediatorLiveData;

    return-object p0
.end method

.method public static final synthetic e(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;)Landroidx/lifecycle/MediatorLiveData;
    .registers 1

    .line 17
    iget-object p0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->d:Landroidx/lifecycle/MediatorLiveData;

    return-object p0
.end method


# virtual methods
.method public final a(BI)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(BI)V"
        }
    .end annotation

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

    const/4 v1, 0x0

    invoke-virtual {v0, p1, p2, v1}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/e;->a(BILjava/util/List;)Landroidx/lifecycle/MediatorLiveData;

    move-result-object p2

    const/4 v0, 0x1

    if-ne p1, v0, :cond_1a

    .line 54
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->c:Landroidx/lifecycle/MediatorLiveData;

    move-object v0, p2

    check-cast v0, Landroidx/lifecycle/LiveData;

    new-instance v1, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$a;

    invoke-direct {v1, p0, p2}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$a;-><init>(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;Landroidx/lifecycle/MediatorLiveData;)V

    check-cast v1, Landroidx/lifecycle/Observer;

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

    return-void

    .line 64
    :cond_1a
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->e:Landroidx/lifecycle/MediatorLiveData;

    move-object v0, p2

    check-cast v0, Landroidx/lifecycle/LiveData;

    new-instance v1, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$b;

    invoke-direct {v1, p0, p2}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$b;-><init>(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;Landroidx/lifecycle/MediatorLiveData;)V

    check-cast v1, Landroidx/lifecycle/Observer;

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

    return-void
.end method

.method public final a(BILjava/util/List;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(BI",
            "Ljava/util/List<",
            "+",
            "Lcom/masala/share/proto/UserInfoStruct;",
            ">;)V"
        }
    .end annotation

    const-string v0, "userInfoStructs"

    invoke-static {p3, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 77
    iget-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->i:Z

    if-eqz v0, :cond_a

    return-void

    :cond_a
    const/4 v0, 0x1

    .line 80
    iput-boolean v0, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->i:Z

    .line 81
    iget-object v1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->h:Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/e;

    .line 1019
    invoke-virtual {v1, p1, p2, p3}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/a/e;->a(BILjava/util/List;)Landroidx/lifecycle/MediatorLiveData;

    move-result-object p2

    if-ne p1, v0, :cond_25

    .line 83
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->b:Landroidx/lifecycle/MediatorLiveData;

    move-object p3, p2

    check-cast p3, Landroidx/lifecycle/LiveData;

    new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$c;

    invoke-direct {v0, p0, p2}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$c;-><init>(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;Landroidx/lifecycle/MediatorLiveData;)V

    check-cast v0, Landroidx/lifecycle/Observer;

    invoke-virtual {p1, p3, v0}, Landroidx/lifecycle/MediatorLiveData;->addSource(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/Observer;)V

    return-void

    .line 94
    :cond_25
    iget-object p1, p0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;->d:Landroidx/lifecycle/MediatorLiveData;

    move-object p3, p2

    check-cast p3, Landroidx/lifecycle/LiveData;

    new-instance v0, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$d;

    invoke-direct {v0, p0, p2}, Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel$d;-><init>(Lcom/imo/android/imoim/feeds/ui/user/newfollow/viewmodel/UserFollowViewModel;Landroidx/lifecycle/MediatorLiveData;)V

    check-cast v0, Landroidx/lifecycle/Observer;

    invoke-virtual {p1, p3, v0}, Landroidx/lifecycle/MediatorLiveData;->addSource(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/Observer;)V

    return-void
.end method