Programming Tips - Android: V/WindowManager: not Base app: Adding window Window{foo.bar/foo.bar.MainActivity} at 5 of 7
Date: 2021aug9
OS: Android
Language: Java
Q. Android: V/WindowManager: not Base app: Adding window Window{foo.bar/foo.bar.MainActivity} at 5 of 7
A. This happened to me when I mistakenly created a spinner adapter
with the app context rather than the main activity context.
In addition to the error the spinner didn't show up.
Using the activity context fixed it.