Searched defs:ObserverWrapper (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/lifecycle/livedata-core/src/main/java/androidx/lifecycle/
H A DLiveData.java64 private SafeIterableMap<Observer<? super T>, ObserverWrapper> mObservers =
91 private void considerNotify(ObserverWrapper observer) {
112 private void dispatchingValue(@Nullable ObserverWrapper initiator) {
124 for (Iterator<Map.Entry<Observer<? super T>, ObserverWrapper>> iterator =
172 ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper);
201 ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper);
220 ObserverWrapper removed = mObservers.remove(observer);
237 for (Map.Entry<Observer<? super T>, ObserverWrapper> entry : mObservers) {
351 class LifecycleBoundObserver extends ObserverWrapper implements GenericLifecycleObserver {
384 private abstract class ObserverWrapper { class in class:LiveData
389 ObserverWrapper(Observer<? super T> observer) { method in class:LiveData.ObserverWrapper
[all...]
/frameworks/support/room/runtime/src/main/java/androidx/room/
H A DInvalidationTracker.java118 final SafeIterableMap<Observer, ObserverWrapper> mObserverMap = new SafeIterableMap<>();
240 ObserverWrapper wrapper = new ObserverWrapper(observer, tableIds, tableNames, versions);
241 ObserverWrapper currentObserver;
273 ObserverWrapper wrapper;
347 for (Map.Entry<Observer, ObserverWrapper> entry : mObserverMap) {
471 static class ObserverWrapper { class in class:InvalidationTracker
478 ObserverWrapper(Observer observer, int[] tableIds, String[] tableNames, long[] versions) { method in class:InvalidationTracker.ObserverWrapper

Completed in 9 milliseconds