Hi!
How can we detect if an Activity is run for the 1st time? I mean, it's
run just after the user clicked on the icon in the homescreen and not
after some event like screen rotation?
For instance:
public class Incoming extends Activity {
private boolean firstrun=true;
On Mon, Aug 9, 2010 at 4:25 PM, Pinheiro rui.c.pinhe...@gmail.com wrote:
How can we detect if an Activity is run for the 1st time?
The savedInstanceState Bundle passed to you is null the first time through.
It is non-null if you're being restored (from a screen rotation or
otherwise), in which
2 matches
Mail list logo