ron
04/09/2017, 6:16 PMron
04/09/2017, 6:26 PMgtnarg
04/09/2017, 6:27 PMReturns the first element matching the given predicate, or null if no such element was found.
ron
04/09/2017, 6:27 PMedvin
04/09/2017, 6:39 PMcellFragment
with TreeView yet, especially what it means for populate
, but this sounds good.edvin
04/09/2017, 6:40 PMnimakro
04/09/2017, 6:42 PMWizard
-APIedvin
04/09/2017, 6:43 PMedvin
04/09/2017, 6:43 PMWizard buttons respect platform positions▾
ron
04/09/2017, 6:43 PMron
04/09/2017, 6:44 PMron
04/09/2017, 6:45 PMedvin
04/09/2017, 6:45 PMron
04/09/2017, 6:47 PMron
04/09/2017, 6:47 PMnimakro
04/09/2017, 6:50 PMThis is how LastPass is doing it▾
nimakro
04/09/2017, 6:52 PMron
04/09/2017, 6:54 PMron
04/09/2017, 6:54 PMedvin
04/09/2017, 6:55 PMnimakro
04/09/2017, 6:57 PMron
04/09/2017, 6:58 PMron
04/09/2017, 6:58 PMron
04/09/2017, 7:09 PMfind
tip in action:
fun moveGroup(uuid: UUID, newParent: GroupFX?) {
val groupToMove : Group? = repository.findGroupByUUID(uuid)
val groupFX = groups.find { it.group == groupToMove }
val fxParent = groups.find { it.groups.contains(groupFX) }
val parent = repository.findParentOfGroupByUUID(uuid)
parent?.groups?.remove(groupToMove)
newParent?.group?.groups?.add(groupToMove)
newParent?.groups?.add(groupFX)
fxParent?.groups?.remove(groupFX)
}
gtnarg
04/09/2017, 7:13 PMron
04/09/2017, 7:23 PMron
04/09/2017, 7:23 PMnimakro
04/09/2017, 7:45 PMFragment
?edvin
04/09/2017, 8:24 PMnimakro
04/09/2017, 8:30 PM