On Thu, 11 Nov 2010 21:57:31 +0100
Marco Trevisan (Treviño) <[email protected]> (MT() wrote:

>Il giorno mer, 10/11/2010 alle 18.43 +0100, Marco Trevisan (Treviño) ha
>scritto:
>> This patch uses the new "scroll,edge,bottom" and "scroll,edge,top"
>> genlist callbacks for populating the message view.
>> By default it loads max MSG_PAGE_SIZE messages per page, then when
>> the message list is scrolled to bottom it tryies to load more
>> messages in the list; when the bottom top edge is reached by
>> scrolling up, the list tries to fetch the previous messages (if they
>> exist).

Great work. It feels that loading of new messages happens too late -
only when we reach the last (first) record. Is there a way to do it
"one screen of records" before?

-----------------first record - load prev. happens here
------------
----------- 
---------
-----------
-----------------screen top - propose: do the load prev here
-------------
------------
-------
----------
----------
----------
--------------screen bottom - propose: do the load next here
------------
----------
-----------
------------
------------
---------------last record - load next happens here


Or another way - do it when the center record reaches top/bottom. I am
not sure whether this is detectable altogether... also not sure if it
disturbs the scrolling experience too much... but much better then wait
each time....

Petr

_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to