Hey everyone, when applying insets inside a fragme...
# android
a
Hey everyone, when applying insets inside a fragment on a view using ViewCompat.setOnApplyWindowInsetsListener, the padding is added multiple times after navigating back and forth to the fragment. using insetter lib is not an option for us. where do we need to call setOnApplyWindowInsetsListener? thanks in advance
đŸ˜¶ 1
it seems that onViewCreated is ok as long as I save the initial view padding and not use subsequent padding after applying inset padding