private static List < ContactDetails > fetchDataList ( ) { List < ContactDetails > list = new ArrayList <> ( ) ; list . add ( new ContactDetails ( "David" , "1234" , new String [ ] { "a" , "b" } ) ) ; list . add ( new ContactDetails ( "Jun" , "1111" , new String [ ] { "c" } ) ) ; list . add ( new ContactDetails ( "Martin" , null , new String [ ] { "b" } ) ) ; return list ; }
Retrieves dummy data used by this example .