Rabbit-R1/original r1/smali/smali_classes2/androidx/fragment/app/FragmentManagerNonConfig.smali
2024-05-21 17:08:36 -04:00

147 lines
3.8 KiB
Smali

.class public Landroidx/fragment/app/FragmentManagerNonConfig;
.super Ljava/lang/Object;
.source "FragmentManagerNonConfig.java"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# instance fields
.field private final mChildNonConfigs:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/fragment/app/FragmentManagerNonConfig;",
">;"
}
.end annotation
.end field
.field private final mFragments:Ljava/util/Collection;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Collection<",
"Landroidx/fragment/app/Fragment;",
">;"
}
.end annotation
.end field
.field private final mViewModelStores:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/lifecycle/ViewModelStore;",
">;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Ljava/util/Collection;Ljava/util/Map;Ljava/util/Map;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"Landroidx/fragment/app/Fragment;",
">;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/fragment/app/FragmentManagerNonConfig;",
">;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/lifecycle/ViewModelStore;",
">;)V"
}
.end annotation
.line 49
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mFragments:Ljava/util/Collection;
iput-object p2, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mChildNonConfigs:Ljava/util/Map;
iput-object p3, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mViewModelStores:Ljava/util/Map;
return-void
.end method
# virtual methods
.method getChildNonConfigs()Ljava/util/Map;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/fragment/app/FragmentManagerNonConfig;",
">;"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mChildNonConfigs:Ljava/util/Map;
return-object p0
.end method
.method getFragments()Ljava/util/Collection;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Collection<",
"Landroidx/fragment/app/Fragment;",
">;"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mFragments:Ljava/util/Collection;
return-object p0
.end method
.method getViewModelStores()Ljava/util/Map;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/lifecycle/ViewModelStore;",
">;"
}
.end annotation
iget-object p0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mViewModelStores:Ljava/util/Map;
return-object p0
.end method
.method isRetaining(Landroidx/fragment/app/Fragment;)Z
.locals 0
iget-object p0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mFragments:Ljava/util/Collection;
if-nez p0, :cond_0
const/4 p0, 0x0
return p0
.line 60
:cond_0
invoke-interface {p0, p1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
move-result p0
return p0
.end method