()
| 92 | |
| 93 | owner.getLifecycle().addObserver(new LifecycleObserver() { |
| 94 | @OnLifecycleEvent(Lifecycle.Event.ON_DESTROY) |
| 95 | public void onDestroyed() { |
| 96 | Log.d(AdapterLog.this + " parent destroyed"); |
| 97 | AdapterLog.this.parentFragment = null; |
| 98 | owner.getLifecycle().removeObserver(this); |
| 99 | } |
| 100 | }); |
| 101 | } |
| 102 |
nothing calls this directly
no test coverage detected