Try something like this:
YourCustomRecordObject[] data = new YourCustomRecordObject[]{
new YourCustomRecordObject(firstName.getText(), Email.getText(), ..all other fields.. )
};
showData.setData(data);
public class YourCustomRecordObject {
public String name;
public String email;
.. all other fields..
public YourCustomRecordObject(String name, String email, ..all other fields..) {
this.name = name;
this.email = emal;
.......
}
.. getters and setters..
}