Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

onCreate method ?  RSS feed

 
Ranch Hand
Posts: 643
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all ,

How i should come to know that particular activity has finished its job(i means onCreate method has completed successfully).
Or how should i know that startAnimation method has completed successfully ,because i want to start another activity after completion of the animation.
Is there any logic ?


Thanks
Chetan
 
Author
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How i should come to know that particular activity has finished its job(i means onCreate method has completed successfully).



If it is your activity, you are the implementer of onCreate(), so you know when onCreate() is done.

If it is another application's activity, you have no way to know.

Or how should i know that startAnimation method has completed successfully ,because i want to start another activity after completion of the animation.



You can register a completion listener with an animation to get called when the animation completes.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!