B3nedikt / ViewPump

View Inflation you can intercept.
Apache License 2.0
165 stars 15 forks source link

fallbackViewCreator bug #17

Closed ghost closed 3 years ago

ghost commented 3 years ago

When I use ViewPump in my project, I found that some views like RadioGroup could not been created by fallbackViewCreator when the layout was first inflated. That's because AppCompatViewInflater.createViewFromTag does not call and ViewPumpAppCompatDelegate.createViewCompat does not give prefix for creating view.

B3nedikt commented 3 years ago

I am unsure about this, what do you mean by it does not give a prefix? In my project there does not seem to be any issues with RadioGroups, everything works as expected. If you can please fork this repository and modify the sample app so it recreates the problem, and post a link to it in this issue. If you want you can also just create a PR that fixes the issue.

ghost commented 3 years ago

Android 7.0 will has this problem, android 9.0 fix it.

B3nedikt commented 3 years ago

I tried it on android 7 in the emulator and on a real device running android 8.1, and could not reproduce the issue. Can you check if this is maybe device specific?

B3nedikt commented 3 years ago

Closing due to inactivity.