[Android] Check Intent Extra Null

  • 0
How to handle an intent which does not have data at first call of an activity?

if( getIntent().getExtras() != null)
{
  //do here
}

沒有留言 :

張貼留言