I think for now, the jumplists will have to be implemented by going through the `ListView`s from the start and finding the first instance of an item in the requested section, as there seems to be no API for going directly to a section. Or maybe we'll store the first item in each section when storing sections on updating lists?
It's less than ideal, but at least each item tells you which section it's in, so I can just loop from the beginning and have some sort of way to scroll to a specific item. Then each item in a jumplist that we need to show can be determined when we open the jumplist, but that can be more processing so there could be a cache somehow that gets the sections anytime something is added or removed from the ListView (also need it for a GridView; long lists will make this difficult).
Or maybe, when items are added or removed from a ListView or GridView (or anything else similar), both the sections and the first item's index in each section can be stored? Yeah, that sounds way better. Hoping that'll work, even if it's a bit weird.
The default Plasma 5 launcher has an alphabetical jumplist for the All Apps view that works exactly as I need (well, it doesn't zoom out while also showing everything relevant to me in English plus the globe button, but that's fine), and I think it's under an LGPLv2.0+ or 2.1+ license, so hopefully it's ok because of the +, allowing me to use it under the LGPLv3+ I hope. It's like two relatively-short blocks of code, and just goes to the sections.