Buggy code:
public class ShowsActivity extends BaseActivity implements LoaderManager . LoaderCallbacks < Cursor > , AbsListView . OnScrollListener , ActionBar . OnNavigationListener { private boolean mBusy ; private static final int UPDATE_SUCCESS = 100 ; private static final int UPDATE_INCOMPLETE = 104 ; private static final int CONTEXT_DELETE_ID = 200 ; private static final int CONTEXT_UPDATESHOW_ID = 201 ; private static final int CONTEXT_MARKNEXT = 203 ; private static final int CONTEXT_FAVORITE = 204 ; private static final int CONTEXT_UNFAVORITE = 205 ; private static final int CONFIRM_DELETE_DIALOG = 304 ; private static final int SORT_DIALOG = 306 ; private static final int BETA_WARNING_DIALOG = 307 ; private static final int LOADER_ID = 900 ; private static final String STATE_ART_IN_PROGRESS = "seriesguide.art.inprogress" ; private static final String STATE_ART_PATHS = "seriesguide.art.paths" ; private static final String STATE_ART_INDEX = "seriesguide.art.index" ; private static final int SHOWFILTER_ALL = 0 ; private static final int SHOWFILTER_FAVORITES = 1 ; private static final int SHOWFILTER_UNSEENEPISODES = 2 ; private static final String FILTER_ID = "filterid" ; private static final int VER_TRAKT_SEC_CHANGES = 131 ; private Bundle mSavedState ; private ShowsActivity . FetchPosterTask mArtTask ; private ShowsActivity . SlowAdapter mAdapter ; private ShowSorting mSorting ; private long mToDeleteId ; private boolean mIsPreventLoaderRestart ; public void fireTrackerEvent ( String label ) { } @ Override protected void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( shows ) ; if ( ! ( EulaHelper . hasAcceptedEula ( this ) ) ) { EulaHelper . showEula ( false , this ) ; } final SharedPreferences prefs = PreferenceManager . getDefaultSharedPreferences ( getApplicationContext ( ) ) ; ActionBar actionBar = getSupportActionBar ( ) ; actionBar . setDisplayShowTitleEnabled ( false ) ; actionBar . setNavigationMode ( NAVIGATION_MODE_LIST ) ; <START_BUG> ArrayAdapter < CharSequence > mActionBarList = ArrayAdapter . createFromResource ( this , showfilter_list , abs__simple_spinner_item ) ; <END_BUG> mActionBarList . setDropDownViewResource ( simple_spinner_dropdown_item ) ; actionBar . setListNavigationCallbacks ( mActionBarList , this ) ; int showfilter = prefs . getInt ( KEY_SHOWFILTER , 0 ) ; actionBar . setSelectedNavigationItem ( showfilter ) ; mIsPreventLoaderRestart = true ; updatePreferences ( prefs ) ; String [ ] from = new String [ ] { Shows . TITLE , Shows . NEXTTEXT , Shows . AIRSTIME , Shows . NETWORK , Shows . POSTER } ; int [ ] to = new int [ ] { id . seriesname , id . TextViewShowListNextEpisode , id . TextViewShowListAirtime , id . TextViewShowListNetwork , id . showposter } ; int layout = layout . show_rowairtime ; mAdapter = new ShowsActivity . SlowAdapter ( this , layout , null , from , to , 0 ) ; GridView list = ( ( GridView ) ( findViewById ( showlist ) ) ) ; list . setAdapter ( mAdapter ) ; list . setFastScrollEnabled ( true ) ; list . setOnItemClickListener ( new OnItemClickListener ( ) { public void onItemClick ( AdapterView < ? > parent , View v , int position , long id ) { Intent i = new Intent ( ShowsActivity . this , OverviewActivity . class ) ; i . putExtra ( _ID , String . valueOf ( id ) ) ; startActivity ( i ) ; } } ) ; list . setOnScrollListener ( this ) ; View emptyView = findViewById ( empty ) ; if ( emptyView != null ) { list . setEmptyView ( emptyView ) ; } Bundle args = new Bundle ( ) ; args . putInt ( ShowsActivity . FILTER_ID , showfilter ) ; getSupportLoaderManager ( ) . initLoader ( ShowsActivity . LOADER_ID , args , this ) ; registerForContextMenu ( list ) ; } @ Override protected void onStart ( ) { } @ Override protected void onResume ( ) { } @ Override protected void onDestroy ( ) { } @ Override protected void onRestoreInstanceState ( Bundle savedInstanceState ) { } @ Override protected void onSaveInstanceState ( Bundle outState ) { } private void restoreLocalState ( Bundle savedInstanceState ) { } private void restoreArtTask ( Bundle savedInstanceState ) { } private void saveArtTask ( Bundle outState ) { } @ Override protected Dialog onCreateDialog ( int id ) { } @ Override public void onCreateContextMenu ( ContextMenu menu , View v , ContextMenuInfo menuInfo ) { } @ Override public boolean onContextItemSelected ( MenuItem item ) { } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } @ Override public boolean onPrepareOptionsMenu ( Menu menu ) { } @ Override public boolean onOptionsItemSelected ( com . actionbarsherlock . view . MenuItem item ) { } private void performUpdateTask ( boolean isFullUpdate , String showId ) { } private class FetchPosterTask extends AsyncTask < Void , Void , Integer > { final AtomicInteger mFetchCount = new AtomicInteger ( ) ; ArrayList < String > mPaths ; private View mProgressOverlay ; protected FetchPosterTask ( ) { } protected FetchPosterTask ( ArrayList < String > paths , int index ) { } @ Override protected void onPreExecute ( ) { } @ Override protected Integer doInBackground ( Void ... params ) { } @ Override protected void onPostExecute ( Integer resultCode ) { } @ Override protected void onCancelled ( ) { } } private boolean isArtTaskRunning ( ) { } public void onCancelTasks ( ) { } public void showOverlay ( View overlay ) { } public void hideOverlay ( View overlay ) { } private void requery ( ) { } final OnSharedPreferenceChangeListener mPrefsListener = new OnSharedPreferenceChangeListener ( ) { public void onSharedPreferenceChanged ( SharedPreferences sharedPreferences , String key ) { } } ; private void updatePreferences ( SharedPreferences prefs ) { } private boolean updateSorting ( SharedPreferences prefs ) { } public Loader < Cursor > onCreateLoader ( int id , Bundle args ) { } public void onLoadFinished ( Loader < Cursor > loader , Cursor data ) { } public void onLoaderReset ( Loader < Cursor > arg0 ) { }

Fix:
ArrayAdapter < CharSequence > mActionBarList = ArrayAdapter . createFromResource ( this , showfilter_list , simple_dropdown_item_1line ) ;