1
I have a listview that is adapted with a cursoradapter ...it selects everything from the database and adapt in my listview .... but I wanted to limit the amount of lines that appear on my listview ... something like that. wanted q select all data I have but showing only 10 ... independent of the number of data in the database .... thanks
Are you using Simpleadapter or Customadapter for your Listview? It would be interesting if you put something of your code here.
– viana
You can limit the lines directly in the database query, which is simpler
– Isac
Use LIMIT and make your rule right in the database!
– wDrik