+
+void
+SettingForm::OnUserEventReceivedN (RequestId requestId, Tizen::Base::Collection::IList *pArgs)
+{
+ AppLog("receiving userevent for appcontrol %d",requestId);
+ if (requestId == APPCONTROL_LAUNCH_MAX_LIMIT_REACHED)
+ {
+ AppLog("receiving userevent for appcontrol %d ",requestId);
+ if(__pConfirmationPopup)
+ {
+ __pConfirmationPopup->SetShowState(false);
+ delete __pConfirmationPopup;
+ __pConfirmationPopup = null;
+ }
+ }
+ 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 )
+ {
+ AppLog("UPDATE_LIST_COMPLETE SetItemChecked %d, %d, %d",groupIndex, itemIndex, settingInfo[effectiveIndex].isSelected);
+ __pList->SetItemChecked(groupIndex, itemIndex, settingInfo[effectiveIndex].isSelected);
+ __pList->Invalidate(true);
+ }
+
+ }
+}
+