have you apply coustom filter on listview to filter the events based on location..?? i think this issue might be the getview is recyclying its views position randomly
On Fri, Apr 8, 2016 at 12:07 PM, Rutger Rozendal <[email protected]> wrote: > Dear college's, > > Last year we develop and Android App showing events on Rose Festival in > Bulgaria. > Everything worked quite smooth but there was one issue we really did not > understand and extensive debugging did not help. > The link to the App is below > > https://play.google.com/store/apps/details?id=com.ata48.roseapp > > So inside the app the are several lists that show events of the total > program, but you can also sort by location. > On the newer Android version this is working fine, but somehow on the > older version, 4.3 and below the order is not correct. > > *So what we build?* > > We are building custom list view with using array adapters (which is okay > in all phones) and for the information we are getting it from php services. > And on android side we are using Volley > <http://developer.android.com/training/volley/index.html> (to make the > HTTP requests) > > *What is the problem?* > > The problem is that in some versions of Android we get the list in wrong > order. For instance on Android 5.0 it works fine but on Android 4.3 it does > not. See also attached pictures. > > *What do we know about the problem?* > > We debug it and we can see that the php services are working correct it > means we are getting the information. So we believe that the phone with the > older Android version are getting the events with the correct order from > the server, but they are somehow changing it. To be very precise we are > grouping the events into a group of one day. Inside this grouping the > ordering is fine (from morning till evening), but the order or the groups, > so the collection of events on certain days is wrong > > Furthermore we see that there is some sort of logic in this wrong order > because it is always putting the events on the 4th of June on top, it is > not something randomly. But what is now the logic we don't know. Can this > have something to do with the date format, that these phone with the wrong > day order do not interpretate the used date format in the correct way, we > us Year-Month-Day > > *Help* > > Any help, maybe just a shared experience or a hint on the way to debug > this would really be appreciated. > > -- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/android-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-developers/0634a22c-8472-4817-96d8-00914c0ecc87%40googlegroups.com > <https://groups.google.com/d/msgid/android-developers/0634a22c-8472-4817-96d8-00914c0ecc87%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CABHzXARf%3DxjRV3mYc%3DLqBTYNh%3DTvBV0ho7zLmKX%3DAf9n-K44bQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

