Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Animations and Transitions Animations Basics Introducing Android Animations

vicente lee
vicente lee
6,271 Points

Animations and Activities

So, I have some activities that do lots of work (not network calls) and was wondering and I'm guessing here, adding animations and transitions will make it even worse for these activities. Is there a way to lighten the work? I'm thinking of using threads, but I've only seen them be used when making network calls, so not sure how to implement multi-threading to handle animations and other work intensive stuff. Any ideas?

There is a very nice treehouse course on using threads and background services. I personally think that animation should be triggered after you have done your performance intensive code and have data. For eg., in an app which fetches data from the network. first get your data while showing your loader and once you have the data then show your animations. This way you wont have to interrupt your animations midway and ruin user experience.