this is need to allow the View created by the Adapter to inherit the same Theme as the Spinner.
ie: if you put the Spinner in the Toolbar with a Theme.AppCompat.Light.DarkActionBar , the view inflated by the Adapter have black text color, where it should be white.
this is need to allow the View created by the Adapter to inherit the same Theme as the Spinner.
ie: if you put the Spinner in the Toolbar with a Theme.AppCompat.Light.DarkActionBar , the view inflated by the Adapter have black text color, where it should be white.