Can you help me in leo contact list extension coding

I am creating app like what’s app but I am not getting the contacts while using the app I did some wrong in coding can you help me please.