What interaction is possible during visible lifetime of an Android activity? -
from android activities api guide:
the visible lifetime of activity happens between call onstart() , call onstop(). during time, user can see activity on-screen , interact it.
i may on analyzing, confused meant '... , interact it.'.
i thought during foreground lifetime when activity has focus , time interaction possible.
is there sort of user interaction possible between calls onstart() , onresume(), , onpause() , onstop()?
i have little android experience, reading docs overview.
is there sort of user interaction possible between calls onstart() , onresume(), , onpause() , onstop()?
there tiny amount of time between onstart , onresume (as between onpause , onstop) not case perform user interactions. should understand , use difference between these calls, example use onpause call when activity overlapped other activity or dialog, still stays partly visible. in case onstop not being called. might want use onrestart method if want called when activity restarted.
Comments
Post a Comment