Function useCandidAdapter