예제 #1
0
 public void setData(
     TLRPC.User u, TLRPC.Chat c, TLRPC.EncryptedChat ec, CharSequence n, String s) {
   currentName = n;
   user = u;
   chat = c;
   encryptedChat = ec;
   subLabel = s;
   update(0);
 }
 private void updateVisibleRows(int mask) {
   if (listView == null) {
     return;
   }
   int count = listView.getChildCount();
   for (int a = 0; a < count; a++) {
     View child = listView.getChildAt(a);
     if (child instanceof ChatOrUserCell) {
       ((ChatOrUserCell) child).update(mask);
     }
   }
 }