RoomsAutoRefreshRecyclerView$d.smali

.class final Lcom/imo/android/imoim/rooms/entrance/mvvm/view/RoomsAutoRefreshRecyclerView$d;
.super Lkotlin/f/b/p;
.source "SourceFile"

# interfaces
.implements Lkotlin/f/a/a;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/rooms/entrance/mvvm/view/RoomsAutoRefreshRecyclerView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lkotlin/f/b/p;",
        "Lkotlin/f/a/a<",
        "Lcom/imo/android/imoim/rooms/entrance/mvvm/RoomsViewModel;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/rooms/entrance/mvvm/view/RoomsAutoRefreshRecyclerView;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/rooms/entrance/mvvm/view/RoomsAutoRefreshRecyclerView;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/entrance/mvvm/view/RoomsAutoRefreshRecyclerView$d;->a:Lcom/imo/android/imoim/rooms/entrance/mvvm/view/RoomsAutoRefreshRecyclerView;

    const/4 p1, 0x0

    invoke-direct {p0, p1}, Lkotlin/f/b/p;-><init>(I)V

    return-void
.end method


# virtual methods
.method public final synthetic invoke()Ljava/lang/Object;
    .registers 3

    .line 1040
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/entrance/mvvm/view/RoomsAutoRefreshRecyclerView$d;->a:Lcom/imo/android/imoim/rooms/entrance/mvvm/view/RoomsAutoRefreshRecyclerView;

    invoke-virtual {v0}, Lcom/imo/android/imoim/rooms/entrance/mvvm/view/RoomsAutoRefreshRecyclerView;->getContext()Landroid/content/Context;

    move-result-object v0

    if-eqz v0, :cond_17

    check-cast v0, Landroidx/fragment/app/FragmentActivity;

    invoke-static {v0}, Landroidx/lifecycle/ViewModelProviders;->of(Landroidx/fragment/app/FragmentActivity;)Landroidx/lifecycle/ViewModelProvider;

    move-result-object v0

    const-class v1, Lcom/imo/android/imoim/rooms/entrance/mvvm/RoomsViewModel;

    invoke-virtual {v0, v1}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/rooms/entrance/mvvm/RoomsViewModel;

    return-object v0

    :cond_17
    new-instance v0, Lkotlin/TypeCastException;

    const-string v1, "null cannot be cast to non-null type androidx.fragment.app.FragmentActivity"

    invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw v0
.end method