enisn/Xamarin.Forms.Contacts

Android: always ignore first record created

fredhuha opened this issue · 2 comments

Hi,

On android devices always first contact created is ignored. If you have 1 contact show no contact, 2 show 1, 3 show 2 and so on.

Maybe this can be the reason on Plugin/ContactService/Platforms/Android/ContactServiceImplementation.cs

image

"if (cursor.MoveToFirst())" you move to first record, but you do nothing, then you "while (cursor.MoveToNext())" and move to second record and start to put records into a list.

enisn commented

You can create a pull request to change it,

I'll work on it as soon as possible,

enisn commented

It just solved at #4 by @sadgit
And it'll be available on Nuget version 1.0.5 and above