Exemplo n.º 1
0
 private void b(View view, Cursor cursor)
 {
     long l1 = g.b(k, l.h());
     View view1 = ConversationListFragment.b(view);
     String s = cursor.getString(24);
     view = cursor.getString(19);
     if (view == null || s == null)
     {
         return;
     }
     String as[] = s.split("\\|");
     String as1[] = view.split("\\|");
     StringBuilder stringbuilder = new StringBuilder();
     int i = 0x7fffffff;
     int i1 = as.length - 1;
     while (i1 >= 0) 
     {
         String s1 = as[i1];
         long l2;
         if (i1 < as1.length)
         {
             view = as1[i1];
         } else
         {
             view = "0";
         }
         l2 = Long.parseLong(view);
         if (i == 0x7fffffff && l1 >= l2)
         {
             i = stringbuilder.length();
         }
         if (TextUtils.isEmpty(s1))
         {
             continue;
         }
         if (stringbuilder.length() > 0)
         {
             stringbuilder.append(", ");
         }
         stringbuilder.append(s1);
         i1--;
     }
     view = k.getResources();
     ((TextView)view1.findViewById(h.cR)).setText(view.getString(l.fs, new Object[] {
         ConversationListFragment.b(cursor.getInt(22))
     }));
     view = new SpannableStringBuilder(stringbuilder.toString());
     view.setSpan(new StyleSpan(1), 0, Math.min(i, view.length()), 0);
     ((TextView)view1.findViewById(h.cQ)).setText(view);
     view1.setSelected(false);
 }
Exemplo n.º 2
0
 public void onCreate(Bundle bundle) {
   super.onCreate(bundle);
   setContentView(g.ft);
   o = (ConversationListFragment) u_().a(h.au);
   o.a(this);
   if (android.os.Build.VERSION.SDK_INT >= 21) {
     int i = g.ds;
     getWindow().setStatusBarColor(getResources().getColor(i));
   }
 }
Exemplo n.º 3
0
 {
     ((ConversationListItemView)context).a(ConversationListFragment.i(m));
 }