Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Using sdk 10,(Android Q) seems like breaking changes in Animation class.

$
0
0

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);
}
}


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>