Please write the CustomAdapter pseudo-code