ADD week 5

This commit is contained in:
2025-03-31 16:33:42 +02:00
parent 86f265f22d
commit bf645048e6
4927 changed files with 544053 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
package androidx.fragment.app;
import androidx.lifecycle.ViewModelStore;
import java.util.Collection;
import java.util.Map;
@Deprecated
/* loaded from: classes.dex */
public class FragmentManagerNonConfig {
private final Map<String, FragmentManagerNonConfig> mChildNonConfigs;
private final Collection<Fragment> mFragments;
private final Map<String, ViewModelStore> mViewModelStores;
Map<String, FragmentManagerNonConfig> getChildNonConfigs() {
return this.mChildNonConfigs;
}
Collection<Fragment> getFragments() {
return this.mFragments;
}
Map<String, ViewModelStore> getViewModelStores() {
return this.mViewModelStores;
}
FragmentManagerNonConfig(Collection<Fragment> collection, Map<String, FragmentManagerNonConfig> map, Map<String, ViewModelStore> map2) {
this.mFragments = collection;
this.mChildNonConfigs = map;
this.mViewModelStores = map2;
}
boolean isRetaining(Fragment fragment) {
Collection<Fragment> collection = this.mFragments;
if (collection == null) {
return false;
}
return collection.contains(fragment);
}
}