You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using androidx.preference.PreferenceFragmentCompat ViewPump doesn't intercept inflating underlying elements. Even PreferenceFragmentCompat uses a different inflation process than android.app.Fragment by loading the elements from the XML resource, it still uses regular widgets at the base.
How to reproduce
Add a preference activity with fragment to the sample app guided by this example
Don't forget to wrap the base context
Observe the interceptors are not called and the TextView is not replaced with CustomTextView
The text was updated successfully, but these errors were encountered:
Description
When using
androidx.preference.PreferenceFragmentCompat
ViewPump doesn't intercept inflating underlying elements. EvenPreferenceFragmentCompat
uses a different inflation process thanandroid.app.Fragment
by loading the elements from the XML resource, it still uses regular widgets at the base.How to reproduce
TextView
is not replaced withCustomTextView
The text was updated successfully, but these errors were encountered: