Releases/January2014/src/src/org/nypl/ui/PlaysAnnotateFragment.java
/**
	 * It changes the mode of the activity whether it is in search mode or not.
	 * It make the appropriate ListView to be visible and set the data of that.
	 * @param isSearchMode 'true' to switch to search mode 'false' to no search mode
	 */
It changes the mode of the activity whether it is in search mode or not.
It make the appropriate ListView to be visible and set the data of that.
@param isSearchMode 'true' to switch to search mode 'false' to no search mode
It changes the mode of the activity whether it is in search mode or not . It make the appropriate ListView to be visible and set the data of that . @param isSearchMode ' true ' to switch to search mode ' false ' to no search mode
private void switchMode(boolean isSearchMode){
		if(isSearchMode)
		{
			mSearchPlayList.setVisibility(View.VISIBLE);
			mPlayList.setVisibility(View.GONE);
			mNoText.setVisibility(View.GONE);
			getSearchList();
		}
		else
		{
			mSearchPlayList.setVisibility(View.GONE);
			mPlayList.setVisibility(View.VISIBLE);
			mNoText.setVisibility(View.GONE);
			getPlaysAnnotate();
		}
	}
private void switchMode ( boolean isSearchMode ) { if ( isSearchMode ) { mSearchPlayList . setVisibility ( View . VISIBLE ) ; mPlayList . setVisibility ( View . GONE ) ; mNoText . setVisibility ( View . GONE ) ; getSearchList ( ) ; } else { mSearchPlayList . setVisibility ( View . GONE ) ; mPlayList . setVisibility ( View . VISIBLE ) ; mNoText . setVisibility ( View . GONE ) ; getPlaysAnnotate ( ) ; } }
It changes the mode of the activity whether it is in search mode or not.
It changes the mode of the activity whether it is in search mode or not .