open static fun setOnApplyInsetsListener(@NonNull view: View, @NonNull listener: OnApplyInsetsListener): Unit
A wrapper around ViewCompat#setOnApplyWindowInsetsListener(View, * OnApplyWindowInsetsListener) which stores the initial view state, and provides them whenever a android.view.WindowInsets instance is dispatched to the listener provided.
This allows the listener to be able to append inset values to any existing view state properties, rather than overwriting them.