@SuppressLint("NewApi")
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   mainView =
       LayoutInflater.from(this)
           .inflate(EUExUtil.getResLayoutID("plugin_iconlist_main_layout"), null);
   if (IconListOption.isInvalidateChild()) {
     mainView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
   }
   setContentView(mainView);
   Intent intent = getIntent();
   String itemInfo = intent.getStringExtra(ITEM_INFO);
   widgetInfo = intent.getStringExtra(WIDGET_INFO);
   mContainer = (ScrollLayout) findViewById(EUExUtil.getResIdID("icon_list_scrolllayout"));
   pageIndicator = (PageIndicator) findViewById(EUExUtil.getResIdID("icon_list_page_indictor"));
   defIconUrl = IconListUtils.getDefaultIconUrl(itemInfo);
   /** 刷新时,会重置mIconList */
   mIconList = IconListUtils.parseIconBeanList(itemInfo);
 }
 /** add IconItem ps:若最后一个可移动,添加到最后,否则添加到倒数第二个 */
 public void addIconItem(IconBean icon) {
   JSONObject json = new JSONObject();
   try {
     if (mContainer != null) {
       if (!IconListUtils.isIconExist(icon, mIconList)) {
         mContainer.addItemView(icon);
         json.put(JK_STATUE, ERROR_MSG_OK);
       } else {
         json.put(JK_STATUE, ERROR_MSG_ERROR);
         json.put(JK_INFO, ICON_IS_EXIST);
       }
     }
   } catch (JSONException e) {
     e.printStackTrace();
   }
   mEUExIconList.mEuExIconListHandler.send2Callback(WHAT_CB_ADD_ICON_ITEM, json.toString());
 }
 /** 删除IconItem */
 public void delIconItem(IconBean icon) {
   int pos = IconListUtils.indexOfIconBeans(icon, mIconList);
   if ((pos >= 0) && (pos < mIconList.size())) {
     mContainer.delItem(pos);
   }
 }
 public String getCurrentIconList() {
   return IconListUtils.getJsonStrFromIconList(mIconList);
 }