+ else if (requestId == UPDATE_LIST_COMPLETE)
+ {
+ AppLog("receiving event UPDATE_LIST_COMPLETE");
+ Integer *pGroupIndex = static_cast<Integer*>(pArgs->GetAt(0));
+ Integer *pItemIndex = static_cast<Integer*>(pArgs->GetAt(1));
+ int groupIndex = pGroupIndex->ToInt();
+ int itemIndex = pItemIndex->ToInt();
+
+ int effectiveIndex = 0;
+ for (int i = 0; i < groupIndex; i++)
+ effectiveIndex = effectiveIndex + pGroupItemCount[i];
+ effectiveIndex = effectiveIndex + itemIndex;
+
+
+ if(settingInfo[effectiveIndex].itemType == ITEM_TYPE_TOGGLE || settingInfo[effectiveIndex].itemType == ITEM_TYPE_RADIO )
+ {
+ __pList->SetItemChecked(groupIndex, itemIndex, settingInfo[effectiveIndex].isSelected);
+ }
+
+ }