Change-Id: Ia3e955e4d1f7629c60aa61af0011fd29854f9af3
Signed-off-by: Gwangbok Kim <gwangbok.kim@samsung.com>
, __pCategory(null)
, __pContact(null)
, __pAddressbookMgr(null)
- , __checkedIndex(0)
+ , __checkedIndex(-1)
{
}
{
if (status == LIST_ITEM_STATUS_CHECKED)
{
- if (__checkedIndex != index || __checkedIndex != 0)
+ if (__checkedIndex != index && __checkedIndex != -1)
{
listView.SetItemChecked(__checkedIndex, false);
listView.Invalidate(true);
}
__pContact = static_cast <Contact*> (__pCandidateContactList->GetAt(index));
-
__checkedIndex = index;
}
listView.SetItemChecked(index, false);
listView.Invalidate(true);
__pContact = null;
+ __checkedIndex = -1;
}
}
, __pCategory(null)
, __pContact(null)
, __pAddressbookMgr(null)
- , __checkedIndex(0)
+ , __checkedIndex(-1)
{
}
{
if (status == LIST_ITEM_STATUS_CHECKED)
{
- if (__checkedIndex != index || __checkedIndex != 0)
+ if (__checkedIndex != index && __checkedIndex != -1)
{
listView.SetItemChecked(__checkedIndex, false);
listView.Invalidate(true);
listView.SetItemChecked(index, false);
listView.Invalidate(true);
__pContact = null;
+ __checkedIndex = -1;
}
}