protected void switchList(ContentDirectoryMainContentType _mainContentType)
{
String listId;
this.setListIdFromMainContentType(mainContentType, currentListId);
listId = this.getListIdFromMainContentType(_mainContentType);
if (this.getList(listId) != null)
{
currentContainerId = this.getList(listId).containerId;
currentListId = listId;
}
else
{
currentContainerId = "";
currentListId = "";
}
if (String.IsNullOrWhiteSpace(currentContainerId))
this.browseToMainContentType(_mainContentType);
else
this.eventListDataReady(currentListId);
}