I want to pass my arraylist via implicit intent just because I want to send my data in listview via whatsapp. Here is my code
public void save()
{
ArrayList<String> arrayList= new ArrayList<String>(Arrays.asList(combination));
Intent intent= new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putStringArrayListExtra(Intent.EXTRA_TEXT,arrayList);
startActivity(intent);
}
save()
is a method that gets called when user presses SHARE button. But it actually doesn't pass anything to whatsapp.