Android Theming Nice to know #1

When using a custom adapter be aware that


new EinfacheListeSimpleButtonAdapter(getSherlockActivity().getApplicationContext(), ...

ignores a theme specified in the current fragment/activity.

It’s better to use

new EinfacheListeSimpleButtonAdapter(getSherlockActivity(),...

Leave a Reply