Android Utililty Methods Intent Copy

List of utility methods to do Intent Copy

Description

The list of methods to do Intent Copy are organized into topic(s).

Method

voidcopyIntentData(Intent aReceived, Intent aDispatch)
Method copies the intent extras from the received intent to the intent that will be dispatched.
Set<String> lKeys = aReceived.getExtras().keySet();
for (String lKey : lKeys) {
    aDispatch.putExtra(lKey, aReceived.getStringExtra(lKey));