apkfuckery/com.discord/smali/androidx/fragment/app/FragmentManagerNonConfig.smali

146 lines
3.8 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Landroidx/fragment/app/FragmentManagerNonConfig;
.super Ljava/lang/Object;
.source "FragmentManagerNonConfig.java"
2019-10-07 23:23:22 +00:00
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
2019-07-24 11:27:29 +00:00
# instance fields
2019-10-07 23:23:22 +00:00
.field private final mChildNonConfigs:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-10-07 23:23:22 +00:00
"Ljava/util/Map<",
"Ljava/lang/String;",
2019-07-24 11:27:29 +00:00
"Landroidx/fragment/app/FragmentManagerNonConfig;",
">;"
}
.end annotation
.end field
2019-10-07 23:23:22 +00:00
.field private final mFragments:Ljava/util/Collection;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-10-07 23:23:22 +00:00
"Ljava/util/Collection<",
2019-07-24 11:27:29 +00:00
"Landroidx/fragment/app/Fragment;",
">;"
}
.end annotation
.end field
2019-10-07 23:23:22 +00:00
.field private final mViewModelStores:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-10-07 23:23:22 +00:00
"Ljava/util/Map<",
"Ljava/lang/String;",
2019-07-24 11:27:29 +00:00
"Landroidx/lifecycle/ViewModelStore;",
">;"
}
.end annotation
.end field
# direct methods
2019-10-07 23:23:22 +00:00
.method constructor <init>(Ljava/util/Collection;Ljava/util/Map;Ljava/util/Map;)V
2019-07-24 11:27:29 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2019-10-07 23:23:22 +00:00
"Ljava/util/Collection<",
2019-07-24 11:27:29 +00:00
"Landroidx/fragment/app/Fragment;",
">;",
2019-10-07 23:23:22 +00:00
"Ljava/util/Map<",
"Ljava/lang/String;",
2019-07-24 11:27:29 +00:00
"Landroidx/fragment/app/FragmentManagerNonConfig;",
">;",
2019-10-07 23:23:22 +00:00
"Ljava/util/Map<",
"Ljava/lang/String;",
2019-07-24 11:27:29 +00:00
"Landroidx/lifecycle/ViewModelStore;",
">;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-10-07 23:23:22 +00:00
iput-object p1, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mFragments:Ljava/util/Collection;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iput-object p2, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mChildNonConfigs:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iput-object p3, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mViewModelStores:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-10-07 23:23:22 +00:00
.method getChildNonConfigs()Ljava/util/Map;
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
2019-10-07 23:23:22 +00:00
"Ljava/util/Map<",
"Ljava/lang/String;",
2019-07-24 11:27:29 +00:00
"Landroidx/fragment/app/FragmentManagerNonConfig;",
">;"
}
.end annotation
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mChildNonConfigs:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-10-07 23:23:22 +00:00
.method getFragments()Ljava/util/Collection;
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
2019-10-07 23:23:22 +00:00
"Ljava/util/Collection<",
2019-07-24 11:27:29 +00:00
"Landroidx/fragment/app/Fragment;",
">;"
}
.end annotation
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mFragments:Ljava/util/Collection;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-10-07 23:23:22 +00:00
.method getViewModelStores()Ljava/util/Map;
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
2019-10-07 23:23:22 +00:00
"Ljava/util/Map<",
"Ljava/lang/String;",
2019-07-24 11:27:29 +00:00
"Landroidx/lifecycle/ViewModelStore;",
">;"
}
.end annotation
2019-10-07 23:23:22 +00:00
iget-object v0, p0, Landroidx/fragment/app/FragmentManagerNonConfig;->mViewModelStores:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-10-07 23:23:22 +00:00
.method 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