if (type == LIST_REFRESH_TYPE_ITEM_MODIFY)
{
- int sweepGroupIndex = -1;
- int sweepItemIndex = -1;
-
- GetCore().GetSweepItemIndex(sweepGroupIndex, sweepItemIndex);
-
- if ((sweepGroupIndex == groupIndex) && (sweepItemIndex == itemIndex))
+ if (IsContextItemOpened(groupIndex, itemIndex))
{
- GetCore().ResetSweepItem();
+ CloseContextItem(groupIndex, itemIndex);
}
int topGroupIndex = -1;
{
if (__pListItemEvent != null)
{
- GetCore().ResetSweepItem();
+ CloseContextItem(groupIndex, itemIndex);
_ListViewItem* pListViewItem = static_cast<_ListViewItem*>(GetCore().FindItem(groupIndex, itemIndex));
if (type == LIST_REFRESH_TYPE_ITEM_MODIFY)
{
- int sweepGroupIndex = -1;
- int sweepItemIndex = -1;
-
- GetCore().GetSweepItemIndex(sweepGroupIndex, sweepItemIndex);
-
- if ((sweepGroupIndex == 0) && (sweepItemIndex == index))
+ if (IsContextItemOpened(index))
{
- GetCore().ResetSweepItem();
+ CloseContextItem(index);
}
int topGroupIndex = -1;
{
if (__pListItemEvent != null)
{
- GetCore().ResetSweepItem();
+ CloseContextItem(itemIndex);
_ListViewItem* pListViewItem = static_cast<_ListViewItem*>(GetCore().FindItem(0, itemIndex));
bool __redrawListView;
bool __isOrientationChanged;
bool __needReloadItems;
- _ListViewItem* __pItemNeedsLazyDeletion;
class _GroupedListViewPropagatedTouchEventListener;
_GroupedListViewPropagatedTouchEventListener* __pPropagatedTouchEventListener;