public void onElementClick(ViewElement paramViewElement) {
   PlayerAgent.getInstance().addPlaySource(33);
   if (this.mNode.sectionId == -100) {
     ControllerManager.getInstance().redirectToMyCollectionView();
     MobclickAgent.onEvent(InfoManager.getInstance().getContext(), "frontCollectionMore");
     TCAgent.onEvent(InfoManager.getInstance().getContext(), "frontCollectionMore");
     return;
   }
   ControllerManager.getInstance().openDiscoverCategoryController(this.mNode.sectionId);
 }
 private void doClickEvent() {
   if ((this.mNode == null) || (this.mSelectedIndex == -1)) return;
   if (this.mSelectedIndex == 2) {
     QTMSGManage.getInstance().sendStatistcsMessage("resumerecent_close");
     EventDispacthManager.getInstance().dispatchAction("closerecentplay", null);
     return;
   }
   Object localObject;
   if (this.mSelectedIndex == 1) {
     localObject = new CustomPopActionParam.Builder();
     ((CustomPopActionParam.Builder) localObject).setTitle(getTitle()).addNode(this.mNode);
     if (this.mDownloadState == 0) ((CustomPopActionParam.Builder) localObject).addButton(1);
     ((CustomPopActionParam.Builder) localObject).addButton(0);
     localObject = ((CustomPopActionParam.Builder) localObject).create();
     EventDispacthManager.getInstance().dispatchAction("showoperatepop", localObject);
     return;
   }
   int i;
   if (this.mNode.nodeName.equalsIgnoreCase("program")) {
     i = ((ProgramNode) this.mNode).getCurrPlayStatus();
     localObject = null;
   }
   while (true) {
     if (i == 2) {
       if (InfoManager.getInstance().root().mPersonalCenterNode.reserveNode.isExisted(this.mNode))
         InfoManager.getInstance()
             .root()
             .mPersonalCenterNode
             .reserveNode
             .cancelReserve(((ProgramNode) this.mNode).id);
       while (true) {
         invalidate();
         label194:
         if (!this.mBelongToPodcasterInfo) break label319;
         QTMSGManage.getInstance().sendStatistcsMessage("PodcasterInfo", "收听");
         return;
         if (this.mNode.nodeName.equalsIgnoreCase("ondemandprogram")) {
           localObject = null;
           i = 3;
           break;
         }
         if (!this.mNode.nodeName.equalsIgnoreCase("playhistory")) break label329;
         QTMSGManage.getInstance().sendStatistcsMessage("resumerecent_play");
         localObject = ((PlayHistoryNode) this.mNode).playNode;
         i = 1;
         break;
         InfoManager.getInstance()
             .root()
             .mPersonalCenterNode
             .reserveNode
             .addReserveNode((ProgramNode) this.mNode);
       }
     }
     ControllerManager localControllerManager = ControllerManager.getInstance();
     if (localObject != null) ;
     while (true) {
       localControllerManager.redirectToPlayViewByNode((Node) localObject, true);
       break label194;
       label319:
       break;
       localObject = this.mNode;
     }
     label329:
     localObject = null;
     i = 1;
   }
 }
Example #3
0
 private static void refreshViewIfNeed() {
   ViewController localViewController = ControllerManager.getInstance().getLastViewController();
   if (localViewController.controllerName.equalsIgnoreCase("blockedmembers"))
     localViewController.config("resetData", null);
 }
 private void handleClick() {
   if (this.mNode == null) return;
   PlayerAgent.getInstance().play(this.mNode);
   ControllerManager.getInstance().popLastController();
 }