ListView selection model strange behavior
l2pMay 16 2013 — edited May 21 2013Based on earlier advice here i implemented a custom selection model for my ListView.
When selecting the first item I want to select the first Item that meets a certain condition which is not necessarily the actual first element.
So I implemented the selectFirst() method accordingly. Now pressing the HOME button should select the first item according to my implementation.
Sadly this is not the case since the selectFirst() method is never actually called. Instead the select(int index) method is called directly with the index 0.
Why is this happening? Am i missing something?