Code example for BlockingQueue

Methods: poll

0
		} 
	} 
	 
	private boolean showCachedList() { 
		boolean ok = false;		
		SimpleAdapter adapter = m_AdapterQueue.poll();
		 
		if ( adapter != null ) {
			setSimpleListAdapter( adapter );
			ok = true;
		} 
		 
		return ok;
	} 
	 
	private void requestList( String param ) {
		RequestIntent request = new RequestIntent( mReqAction[mState] );
		request.setResponseAction( RESPONSE.HTTP_RESPONSE_GROUPON );
		 
		if ( Util.isValid( param ) ) {
			request.setParam1( param );