SectionIndexer for category in android listview
<p>I want to display listview with category e.g Fruits, Vegetable, Others etc. </p>

<p>Fruits</p>

<p>-- Apple</p>

<p>-- Mango</p>

<p>-- Grapes</p>

<p>Vegetable</p>

<p>-- Onion</p>

<p>-- Tomato</p>

<p>Others</p>

<p>-- Belt</p>

<hr>

<p>Data coming in cursor using CursorLoader like,</p>

<p>1  Apple  Fruit</p>

<p>2  Mango  Fruit</p>

<p>3  Grapes Fruit</p>

<p>4  Onion  Vegetable</p>

<p>5  Tomato Vegetable</p>

<p>6  Other  Belt</p>

<hr>

<p>I couldn't find any solution except AlphabetIndexer but it doesn't fill my requirement.
Anyone have idea how to do it??
[Note: I don't have a seperate column like isHeader]</p>
