Sort tags in drawer
(cherry picked from commit 9d0dcd9dbf8c969042a4bee8b71b4fc190ad85bc)
This commit is contained in:
parent
d682951226
commit
5f67fe92b9
1 changed files with 3 additions and 0 deletions
|
@ -295,6 +295,9 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
|||
binding.drawer.getItemAdapter().add(item);
|
||||
}
|
||||
}
|
||||
|
||||
items.subList(4, 4 + tags.size()).sort((x, y) -> x.getTag() == null ? -1 : ((Comparable) x.getTag()).compareTo(y.getTag()));
|
||||
binding.drawer.getItemAdapter().getFastAdapter().notifyDataSetChanged();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue