[SailfishDevel] Displaying large models in SailfishOS

Andrey Kozhevnikov coderusinbox at gmail.com
Thu Dec 26 17:15:06 UTC 2013


It will work on top part every time, and if you scroll to top it will 
work as usual too.

and afaik official QuickScroller for SilicaListView is under development.

On 26.12.2013 23:12, Luciano Montanaro wrote:
> Thank you Andrey,
>
> the Flickable trick should do, and I was thinking about those lines as
> well, although the details are important, and you just saved me a few
> hours of trial and errors.
> I am not completely happy about it, since this will work only on the
> top part of the screen, but at least the application will keep usable.
>
> About the second point, I agree that is an option... and I will use it
> of course, but this is not an uncommon situation, I guess, so it would
> be better to have a solution at the silica toolkit level, instead of
> having appliations implement their own or copy over qml libraries.
>
> So maybe a SectionScroller, or SectionGrid (or both! Not all models
> would work well with the alpha grid as addressbooks) should be
> available for applications to use in the future.
>
> Best regards,
> Luciano
>
> On Thu, Dec 26, 2013 at 12:51 PM, Andrey Kozhevnikov
> <coderusinbox at gmail.com> wrote:
>> I solved this in two ways:
>> 1. Put SilicaListView inside SIlicaFlickable.
>>
>> SilicaFlickable {
>>      interactive: !listView.flicking
>>      pressDelay: 0
>> PullDownMenu {}
>> PageHeader {}
>> SilicaListView {
>>      pressDelay: 0
>> }
>> }
>>
>> Now i have fixed header and can always pull down menu, and its not
>> intercepting with long lists inside ListView
>>
>>      pressDelay: 0
>> 2. Implemented FastScroll based on section sctolling. Just ported QML
>> FastScroll component from harmattan components to Silica. Looks very nice
>> and suitable for Sailfish UI.
>>
>>
>> On 26.12.2013 17:38, Luciano Montanaro wrote:
>>> Hi everybody,
>>>
>>> This is the second problem I realized I have, now that I can test my
>>> application on the actual hardware:
>>>
>>> With a long list of items in the view, it is possible to go so much
>>> down the list of items, that accessing the pulley menu becomes
>>> difficult.
>>>
>>> On Harmattan, this problem is avoided by two features:
>>>
>>> * The toolbar is always visible and
>>> * Long lists can be scrolled quickly through the use of the section
>>> scroller item.
>>>
>>> I am open to suggestions on how to fix this usability problem in my
>>> application...
>>>
>>> Since I modeled the list on the "Contacts" application behavior, one
>>> possibility is to do what the People internal application does:
>>> Search on top, then favorites, recent stations, and alphabet grid.
>>>
>>> The only problem is: the alphabet grid view is not available as a
>>> Silica item for general use... Am I right? Is it planned for a furter
>>> update?
>>>
>>> Alternatively, is something along the line of the SectionScroller
>>> planned for a future update?
>>>
>>> Thank you and best regards,
>>> Luciano
>>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>
>



More information about the Devel mailing list