Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
package androidx.lifecycle;
import androidx.annotation.RestrictTo;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public class ViewModelStore {
private final Map<String, ViewModel> map = new LinkedHashMap();
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public final void put(String key, ViewModel viewModel) {
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(viewModel, "viewModel");
ViewModel put = this.map.put(key, viewModel);
if (put != null) {
put.onCleared();
}
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public final ViewModel get(String key) {
Intrinsics.checkNotNullParameter(key, "key");
return this.map.get(key);
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public final Set<String> keys() {
return new HashSet(this.map.keySet());
}
public final void clear() {
Iterator<ViewModel> it = this.map.values().iterator();
while (it.hasNext()) {
it.next().clear();
}
this.map.clear();
}
}