I have a cursor with a float value describing my people weight in kg.
So all my people in my database have this look:
NAME - WEIGHT:
John: 85.3
Michael:80.3
Lisa 58.2
Christopher: 75.0
What I want to do is to display them in a ListView by weight range.
"50-60": 1 people
"60-70": 1 people
"70-80": 2 people
"80-90": 0 people
I plan to use a ListView with a SimpleCursorAdapter, but I don’t know how to group them…
Thank a lot for your help
Something along the lines of: