Sort entity list and add debug resources for wear app (#1778)
19
wear/src/debug/res/drawable/ic_launcher_foreground.xml
Executable file
5
wear/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml
Executable file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@android:color/holo_red_dark"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
5
wear/src/debug/res/mipmap-anydpi-v26/ic_launcher_round.xml
Executable file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@android:color/holo_red_dark"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
wear/src/debug/res/mipmap-hdpi/ic_launcher.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
wear/src/debug/res/mipmap-hdpi/ic_launcher_round.png
Executable file
After Width: | Height: | Size: 3.4 KiB |
BIN
wear/src/debug/res/mipmap-mdpi/ic_launcher.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
BIN
wear/src/debug/res/mipmap-mdpi/ic_launcher_round.png
Executable file
After Width: | Height: | Size: 2.1 KiB |
BIN
wear/src/debug/res/mipmap-xhdpi/ic_launcher.png
Executable file
After Width: | Height: | Size: 2.6 KiB |
BIN
wear/src/debug/res/mipmap-xhdpi/ic_launcher_round.png
Executable file
After Width: | Height: | Size: 5 KiB |
BIN
wear/src/debug/res/mipmap-xxhdpi/ic_launcher.png
Executable file
After Width: | Height: | Size: 4 KiB |
BIN
wear/src/debug/res/mipmap-xxhdpi/ic_launcher_round.png
Executable file
After Width: | Height: | Size: 7.8 KiB |
BIN
wear/src/debug/res/mipmap-xxxhdpi/ic_launcher.png
Executable file
After Width: | Height: | Size: 5.6 KiB |
BIN
wear/src/debug/res/mipmap-xxxhdpi/ic_launcher_round.png
Executable file
After Width: | Height: | Size: 11 KiB |
|
@ -69,8 +69,8 @@ class HomePresenterImpl @Inject constructor(
|
|||
}
|
||||
|
||||
private fun processEntities(entities: Array<Entity<Any>>) {
|
||||
val scenes = entities.filter { it.entityId.split(".")[0] == "scene" }
|
||||
val scripts = entities.filter { it.entityId.split(".")[0] == "script" }
|
||||
val scenes = entities.sortedBy { it.entityId }.filter { it.entityId.split(".")[0] == "scene" }
|
||||
val scripts = entities.sortedBy { it.entityId }.filter { it.entityId.split(".")[0] == "script" }
|
||||
view.showHomeList(scenes, scripts)
|
||||
}
|
||||
|
||||
|
|