sort groups on the groups picker alphabetically
This commit is contained in:
parent
0e7bba9b49
commit
9649afac98
|
@ -22,7 +22,7 @@ class SelectGroupsDialog(val activity: SimpleActivity, val selectedGroups: Array
|
||||||
private val dialog: AlertDialog?
|
private val dialog: AlertDialog?
|
||||||
|
|
||||||
init {
|
init {
|
||||||
groups.forEach {
|
groups.sortedBy { it.title }.forEach {
|
||||||
addGroupCheckbox(it)
|
addGroupCheckbox(it)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ buildscript {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
|
|
Loading…
Reference in New Issue