sort the apps by name

This commit is contained in:
tibbi
2016-08-09 23:34:54 +02:00
parent a0a847632e
commit 971c41f3e0

View File

@ -32,6 +32,7 @@ class MainActivity : SimpleActivity() {
apps.add(AppLauncher(componentInfo.loadLabel(pm).toString(), componentInfo.loadIcon(pm)))
}
apps.sortBy { it.name }
launchers_holder.adapter = LaunchersAdapter(apps)
}