I need to send that information to another activity. How will I be able to do that?
ArrayList<Contact> contacts;
contacts = new ArrayList<Contact>();
contacts.add(new Contact("Messy", "0516586348", "male"));
contacts.add(new Contact("Lisa", "0816957852", "female"));
contacts.add(new Contact("Grace", "0613253656", "female"));
contacts.add(new Contact("Ivan", "0826525298", "male"));
contacts.add(new Contact("David", "0645956325", "male"));