Esempio n. 1
0
 private void d(com.zing.zalo.control.v paramv)
 {
   Bundle localBundle = new Bundle();
   localBundle.putString("id", paramv.getId());
   localBundle.putString("desc", paramv.gd());
   localBundle.putString("type", paramv.getType());
   localBundle.putString("name", paramv.getName());
   localBundle.putStringArrayList("members", paramv.gg());
   m localm = new m(1, paramv.getId(), paramv.gg());
   localm.xV = paramv.getName();
   localm.xX = com.zing.zalo.g.a.Ca.xX;
   com.zing.zalo.control.i locali = n.fX().fZ();
   locali.b(locali.c(localm));
   Intent localIntent = new Intent(this, ChatActivity.class);
   localIntent.putExtras(localBundle);
   startActivity(localIntent);
 }
Esempio n. 2
0
 public void mB()
 {
   label645: label680: label686: label692: 
   while (true)
   {
     int i;
     int k;
     try
     {
       this.mH.clear();
       this.ahB = com.zing.zalo.db.a.hn().bE(this.abX);
       if (this.ahB != null)
       {
         if (this.ahB.gg().size() <= 0)
           break label680;
         m localm1 = new m();
         localm1.xV = "Thành viên";
         localm1.B(false);
         this.mH.add(localm1);
         break label680;
         if (i >= this.ahB.gg().size())
         {
           int j = this.ahB.gi().size();
           k = 0;
           if (j > 0)
           {
             m localm3 = new m();
             localm3.xV = "Danh sách chờ";
             localm3.B(false);
             this.mH.add(localm3);
           }
           if (k < this.ahB.gi().size())
             continue;
           m localm5 = com.zing.zalo.db.a.hn().bs(this.ahB.ge());
           if (localm5 == null)
             continue;
           this.ahy.setText(localm5.xV);
           this.ahy.setVisibility(0);
           this.pw.setText(this.ahB.getName());
           this.pw.setVisibility(0);
           this.ahA.setVisibility(4);
           if (com.zing.zalo.g.a.CW.equals(this.ahB.ge()))
             this.ahA.setVisibility(0);
           if (!this.ahB.getType().equals("1"))
             break label486;
           this.ahw.setEnabled(true);
           this.ahz.setTextColor(Color.parseColor("#FF232323"));
           Drawable localDrawable3 = this.KH.getDrawable(2130838252);
           localDrawable3.setBounds(0, 0, localDrawable3.getMinimumWidth(), localDrawable3.getMinimumHeight());
           this.ahz.setCompoundDrawables(localDrawable3, null, null, null);
         }
       }
       else
       {
         this.ahp.a(this.mH);
         this.ahp.notifyDataSetChanged();
         if (this.ahp.getCount() <= 0)
           break label645;
         this.ahs.setVisibility(8);
         this.aho.setVisibility(0);
         return;
       }
       m localm2 = com.zing.zalo.db.a.hn().bs((String)this.ahB.gg().get(i));
       if (localm2 == null)
         break label686;
       localm2.ys = 1;
       this.mH.add(localm2);
       break label686;
       m localm4 = com.zing.zalo.db.a.hn().bs((String)this.ahB.gi().get(k));
       if (localm4 == null)
         break label692;
       localm4.ys = 0;
       this.mH.add(localm4);
       break label692;
       this.ahy.setVisibility(8);
       continue;
     }
     catch (Exception localException)
     {
       localException.printStackTrace();
       return;
     }
     label486: if ((this.ahB.getType().equals("2")) && (com.zing.zalo.g.a.CW.equals(this.ahB.ge())))
     {
       this.ahw.setEnabled(true);
       this.ahz.setTextColor(Color.parseColor("#FF232323"));
       Drawable localDrawable2 = this.KH.getDrawable(2130838252);
       localDrawable2.setBounds(0, 0, localDrawable2.getMinimumWidth(), localDrawable2.getMinimumHeight());
       this.ahz.setCompoundDrawables(localDrawable2, null, null, null);
     }
     else
     {
       this.ahw.setEnabled(false);
       this.ahz.setTextColor(-7829368);
       Drawable localDrawable1 = this.KH.getDrawable(2130838253);
       localDrawable1.setBounds(0, 0, localDrawable1.getMinimumWidth(), localDrawable1.getMinimumHeight());
       this.ahz.setCompoundDrawables(localDrawable1, null, null, null);
       continue;
       this.ahs.setVisibility(0);
       this.aht.setText(this.KH.getString(2131165275));
       this.ahu.setVisibility(8);
       return;
       i = 0;
       continue;
       i++;
       continue;
       k++;
     }
   }
 }