mercredi 10 octobre 2018

Design pattern for managing animations in your activity

I know that this site is not neccessarily for asking broad questions like this. But I am kinda stuck at this problem. I have an activity with a lot of animations going on (like hiding/revealing buttons, moving stuff around etc.). So, naturally, I have loads of View objects and Animators in my activity littering it.

My question now is, whether there is a design pattern or a common way of managing animations and encapsulate that from the activity itself (and furthermore whether that is a thing one should do or not).

Thanks for answering! Cheers.

Aucun commentaire:

Enregistrer un commentaire