]> git.ktnx.net Git - mobile-ledger.git/commitdiff
transaction list always starts with the date of the first transaction
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 17 Sep 2020 07:54:08 +0000 (07:54 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 17 Sep 2020 13:25:54 +0000 (13:25 +0000)
this is a good idea because of the side effect it has when a new
transaction from today comes after a refresh -- you see it pop in under
the date row

without the date row (which is at the top of the scroll view when
pulling to refresh) the new appears outside of the visible scroll window
and one has to to see it -- it appears as if the refresh didn't do
anything later problem still stays when the first transaction is for a
past(1) and the newly coming ones are from a later (than (1)) date

a possible solution is to convert the "Last updated" header to a special
kind of transaction list item (there are three now - date line,
transaction box and bottom filler) that always sits on the top of the
list and all incoming transactions are inserted below it -- always pop
in nicely


No differences found