Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ViewPump doesn't support the PreferenceInflater #54

Open
pr0t3us opened this issue Nov 18, 2019 · 0 comments
Open

ViewPump doesn't support the PreferenceInflater #54

pr0t3us opened this issue Nov 18, 2019 · 0 comments

Comments

@pr0t3us
Copy link

pr0t3us commented Nov 18, 2019

Description

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant