https://kotlinlang.org logo
#compose
Title
# compose
y

Yashovardhan

07/30/2020, 1:29 PM
Is there a way to add update animations in
AdapterList
when items are added/removed/moved I have a simple tasks list function where checked items move to the bottom. However, it happens almost instantly without any delay at all.
Copy code
@Composable
fun TaskList(taskHandler: TaskHandler) {
    AdapterList(data = taskHandler.list.sortedBy { it.isChecked }) {
        TaskItem(task = it, taskHandler = taskHandler)
    }
}
a

Andrey Kulikov

07/30/2020, 1:44 PM
hey, unfortunately we don't provide such functionality yet. but we will add something to solve it in the future
y

Yashovardhan

07/30/2020, 2:36 PM
Looking forward to it!
2 Views