i have used animation end event handler in my application. after updated target type as android q, events not available in animation class. and i found iAnimationListener interface. but not have enough information about this change.
And also need to know, are we need to use condition compilation for this changes? like lower version use event handler and higher version use listener?
Animation MyAnimation = new Animation();
...
MyAnimation.AnimationEnd += (s,e) => {
if (ChildCount > 1) {
RemoveViewAt(0);
}
}