clear Extras In Intent by put in new Bundle - Android android.os

Android examples for android.os:Bundle

Description

clear Extras In Intent by put in new Bundle

Demo Code

import android.content.Intent;
import android.os.Bundle;
import java.util.ArrayList;

public class Main{

    public static void clearExtras(Intent i) {
        i.putExtras(new Bundle());
    }/*ww  w .  ja v a2 s.c  o  m*/

}

Related Tutorials