animateController: AnimatorResult = Animator.create({
duration: 800,
easing: "linear",
delay: 0,
fill: 'backwards',
direction: 'normal',
iterations: 1,
begin: 0,
end: 360,
})
this.animateController.onFrame = (val) => {
this.dataSource.getData(groupIndex)
.childdataSource
.getData(itemIndex)
.poleft = val
this.dataSource.getData(groupIndex).childdataSource.notifyDataChange(itemIndex)
}
this.animateController.onfinish = () => {
this.dataSource.getData(groupIndex).childdataSource.deleteData(itemIndex)
}
this.animateController.play()
.opacity(1-it.poleft!*1/360)
.offset({ left: it.poleft })