apkfuckery/com.discord/smali/androidx/fragment/app/FragmentManagerNonConfig.smali
2020-11-12 02:11:44 +00:00

175 lines
4.6 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 public final mChildNonConfigs:Ljava/util/Map;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/fragment/app/FragmentManagerNonConfig;",
">;"
}
.end annotation
.end field
.field public final mFragments:Ljava/util/Collection;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Collection<",
"Landroidx/fragment/app/Fragment;",
">;"
}
.end annotation
.end field
.field public final mViewModelStores:Ljava/util/Map;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/lifecycle/ViewModelStore;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/Collection;Ljava/util/Map;Ljava/util/Map;)V
.locals 0
.param p1 # Ljava/util/Collection;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Ljava/util/Map;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p3 # Ljava/util/Map;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.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
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 public getChildNonConfigs()Ljava/util/Map;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/fragment/app/FragmentManagerNonConfig;",
">;"
}
.end annotation
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mChildNonConfigs:Ljava/util/Map;
return-object v0
.end method
.method public getFragments()Ljava/util/Collection;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Collection<",
"Landroidx/fragment/app/Fragment;",
">;"
}
.end annotation
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mFragments:Ljava/util/Collection;
return-object v0
.end method
.method public getViewModelStores()Ljava/util/Map;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Landroidx/lifecycle/ViewModelStore;",
">;"
}
.end annotation
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mViewModelStores:Ljava/util/Map;
return-object v0
.end method
.method public isRetaining(Landroidx/fragment/app/Fragment;)Z
.locals 1
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mFragments:Ljava/util/Collection;
if-nez v0, :cond_0
const/4 p1, 0x0
return p1
:cond_0
invoke-interface {v0, p1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
move-result p1
return p1
.end method