java - Toast and android lifecycle -
sorry, can not find suitable information can use toast
, , how usage depend on activities life cycle.
can toast
shown during application
object creation, before first activity
created?
can used during activity.oncreate
if have single activity in app?
can used between onpause
, onresume
, when user switch single activity
other application?
without being able give sources on except own experience, toast
, once shown, not bound lifecycle @ all. can show context
(application context or activity) , service, not disappear should it's context finish.
once shown, remain shown, until it's duration expires or manually cancel it.
you not have mind further lifecycle implications.
Comments
Post a Comment