sort groups on the groups picker alphabetically

This commit is contained in:
tibbi 2018-04-14 19:14:04 +02:00
parent 0e7bba9b49
commit 9649afac98
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class SelectGroupsDialog(val activity: SimpleActivity, val selectedGroups: Array
private val dialog: AlertDialog?
init {
groups.forEach {
groups.sortedBy { it.title }.forEach {
addGroupCheckbox(it)
}

View File

@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
classpath 'com.android.tools.build:gradle:3.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong