mercredi 29 juillet 2015

ListView dosent show data

I have two ListViews in two different fragments, one works fine with the same custom adapter and the other one dosent.

Now i found that before that i get location there are no problems (the first list waits until it's get location and the other list shows the line "Distance not available".

After i get the location the first list works fine but the second list disappear.

in second ListView: I ran debuger and i found something wired, for some reason the DB dosent return data to the cursor after i get location (but the same SQLite code works fine with the first ListView)

somehow the location interrupts.

Aucun commentaire:

Enregistrer un commentaire