I have problem using the findViewByID methond in a fragment.
The spinner in Spinner spinner = (Spinner) view.findViewById(R.id.tabsearchspinner_location);
Spinner spinner = (Spinner) view.findViewById(R.id.tabsearchspinner_location);
Sorry, I just found out that I inflated the wrong layout, so the findViewById method always returns null, thanks for all the help though.
findViewById