public static DownloadResourceGroupFragment createInstance(String regionId) {
   Bundle bundle = new Bundle();
   bundle.putString(REGION_ID_DLG_KEY, regionId);
   DownloadResourceGroupFragment fragment = new DownloadResourceGroupFragment();
   fragment.setArguments(bundle);
   return fragment;
 }
 @Override
 public boolean onChildClick(
     ExpandableListView parent, View v, int groupPosition, int childPosition, long id) {
   Object child = listAdapter.getChild(groupPosition, childPosition);
   if (child instanceof DownloadResourceGroup) {
     String uniqueId = ((DownloadResourceGroup) child).getUniqueId();
     final DownloadResourceGroupFragment regionDialogFragment =
         DownloadResourceGroupFragment.createInstance(uniqueId);
     ((DownloadActivity) getActivity()).showDialog(getActivity(), regionDialogFragment);
     return true;
   } else if (child instanceof IndexItem) {
     IndexItem indexItem = (IndexItem) child;
     DownloadResourceGroup groupObj = listAdapter.getGroupObj(groupPosition);
     ItemViewHolder vh = (ItemViewHolder) v.getTag();
     OnClickListener ls =
         vh.getRightButtonAction(indexItem, vh.getClickAction(indexItem), groupObj);
     ls.onClick(v);
     return true;
   }
   return false;
 }