fun setDelayMsWhenRemovingAdapterOnDetach(delayMsWhenRemovingAdapterOnDetach: Int): Unit
If .setRemoveAdapterWhenDetachedFromWindow is set to true, this is the delay in milliseconds between when .onDetachedFromWindow is called and when the adapter is actually removed.
By default a delay of {@value #DEFAULT_ADAPTER_REMOVAL_DELAY_MS} ms is used so that view transitions can complete before the adapter is removed. Otherwise if the adapter is removed before transitions finish it can clear the screen and break the transition. A notable case is fragment transitions, in which the fragment view is detached from window before the transition ends.