Accueil > FAQ

Sqlite next row acting strange Android

I have this query for moving in my database
Select data1,data2 From Table Where counter <"+somenumber+" and order by counter DESC
this is for moving back, and i have same, but without desc for moving forward. The problem is that is going like this:68,69,70,7,71. Why is doing this? it goes to seven before 71.

loading to bottom of loaded content js

hich is called upon page load. The messagesContainer holds the messages in which are being loaded from my database, and calling this scrollToBottom() function allows me to automatically scroll to the bottom of the messages, the most recent to be exact. However, the scroll animation is really ugly, it scrolls to the bottom of hundreds of messages. I am looking for a more elegant solution similar to the likes of iMessage on iPhone and Mac, where it just opens up to the most recent messages. I can add more code if needed, but looking for some advice!