title: NFC disable/enable foreground dispatching at will
body: <p>can we disable/enable foreground dispatching at will. onresume/onpause will help us enable and disable when the activity comes back to focus and out of focus respectively.</p>
  
  <p>is there a possibility to enable and then disable the foreground dispatching.</p>
  
  <p>even tried to use 
  IntentFilter writeTagFilters2[]= new IntentFilter[] {  };
  adapter.enableForegroundDispatch(this, pendingIntent, writeTagFilters2, null);</p>
  
  <p>to give no intents to react</p>
  
  <p>but it gives an error saying </p>
  
  <p>Foreground dispatch can only be enabled when your activity is resumed.</p>