Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andy B-S
Companion App Android
Commits
8e98f1d5
Commit
8e98f1d5
authored
Aug 24, 2019
by
Anon
Browse files
AppListAdapter: Sort app list alphabetically.
parent
ed9053bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/de/ccc/events/badge/card10/hatchery/AppListAdapter.kt
View file @
8e98f1d5
...
...
@@ -43,6 +43,6 @@ class AppListAdapter(val clickListener: (App) -> Unit) : RecyclerView.Adapter<Ap
}
fun
update
(
items
:
List
<
App
>)
{
data
=
items
data
=
items
.
sortedWith
(
compareBy
{
it
.
name
.
toLowerCase
()
})
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment