, __scrollToItemTag()
, __isOrientationChanged(false)
, __isFocusedDuringOrientationChange(false)
+ , __isUpdatingTableView(false)
{
__sweptItemTag.itemIndex = -1;
__sweptItemTag.groupIndex = -1;
result
_TableViewPresenter::UpdateTableView(void)
{
+ if (__isUpdatingTableView)
+ {
+ return E_SUCCESS;
+ }
+
+ __isUpdatingTableView = true;
+
_VisualElement* pVisualElement = __pTableView->GetVisualElement();
if (pVisualElement != null)
{
SetItemDrawingProperty();
- if(PreloadItem() == false)
- {
- return E_SUCCESS;
- }
+ PreloadItem();
}
else
{
}
}
+ __isUpdatingTableView = false;
+
return E_SUCCESS;
}
bool __isOrientationChanged;
bool __isFocusedDuringOrientationChange;
+ bool __isUpdatingTableView;
static const int TABLEVIEW_MAX_ITEM_COUNT = 30;
static const int REORDER_SCROLL_ANIMATION_TIMER_DURATION = 10;