application/src/PodcastShowsView.cpp
branchtwolistboxes
changeset 317 5afc95a6ad83
parent 316 841ccfa933ac
child 318 a231cc388498
equal deleted inserted replaced
316:841ccfa933ac 317:5afc95a6ad83
   458 		{
   458 		{
   459 		infoSize.Insert(0,_L(", "));
   459 		infoSize.Insert(0,_L(", "));
   460 		}
   460 		}
   461 		
   461 		
   462 	iListboxFormatbuffer.Format(KShowFormat(), iconIndex, &aShowInfo.Title(), &showDate, &infoSize);
   462 	iListboxFormatbuffer.Format(KShowFormat(), iconIndex, &aShowInfo.Title(), &showDate, &infoSize);
   463 	iListboxFormatbufferShort.Format(KShowFormatLandscape(), iconIndex, &aShowInfo.Title(), &showDate, &infoSize);
   463 	iListboxFormatbufferShort.Format(KShowFormatLandscape(), iconIndex, &aShowInfo.Title());
   464 	}
   464 	}
   465 
   465 
   466 void CPodcastShowsView::GetShowErrorText(TDes &aErrorMessage, TInt aErrorCode)
   466 void CPodcastShowsView::GetShowErrorText(TDes &aErrorMessage, TInt aErrorCode)
   467 	{
   467 	{
   468 	TRAP_IGNORE(((CPodcastAppUi*)AppUi())->GetErrorTextL(aErrorMessage,aErrorCode));
   468 	TRAP_IGNORE(((CPodcastAppUi*)AppUi())->GetErrorTextL(aErrorMessage,aErrorCode));
   540 					}
   540 					}
   541 				iListContainer->Listbox()->DrawNow();
   541 				iListContainer->Listbox()->DrawNow();
   542 				}
   542 				}
   543 			else
   543 			else
   544 				{
   544 				{
   545 				iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL();
   545 				//iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL();
   546 				iListContainer->Listbox()->Reset();
   546 				iListContainer->Listbox()->Reset();
   547 				iItemIdArray.Reset();
   547 				iItemIdArray.Reset();
   548 				iItemArray->Reset();
   548 				iItemArray->Reset();
   549 				iItemArrayShort->Reset();
   549 				iItemArrayShort->Reset();
   550 				
   550